Giter Site home page Giter Site logo

mememaker_api's Introduction

MemeMaker_API

An ASP.NET Core Web API created for WPF Meme Maker to manage memes and templates from remote apps.

Features

  • IsAlive checking
  • ApiKey authorisation
  • Synchronous or Asynchronous execution
  • Manage Templates
  • Manage Memes
  • Swagger documentation
  • Logging service
  • SQL Injection protection (partial)

Tech and tools

  • Visual Studio 2022
  • .NET 6
  • ASP.NET Core
  • MS SQL Server
  • Entity Framework Core
  • Swashbuckle Swagger
  • Serilog
  • DDD Approach (Domain Driven Design)

How to run

  1. Clone repository
  2. Prepare database
    • Use Setup\Database\MemeMakerDB.bak file to restore database
  3. Prepare Memes and Templates folders
    • Copy Memes and Templates folder from \Setup directory and place them on your C:\\ drive
    • You can place them in other location but in that case you need to edit appsettings.json file and replace "DiskPaths" values on your own.
  4. Make sure you have installed all required packages and dependencies.
  5. Edit appsettings.json and replace "MemeMakerConnection" to connection string of your database.
  6. Build and run project. You can use API through Swagger UI or you can run WPF Meme Maker project which connect with API.

How it looks like

Preview1 Preview2

TODO

  • UnitTesting
  • IntegrationTesting

Future plans

Although project is pretty much ready and working it still needs some more work to do. For sure there are some refactoring needed and minor bugfixes. The functionality of web API and implemented functions can be improved or extended, but these works are time-consuming and the effect of their implementation will be insignificant so I decided to leave it as is. The main purpose of this project was to refresh my ASP.NET Core and C# skills and expand my portfolio and I think it's done pretty well.

mememaker_api's People

Contributors

rav97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.