Coder Social home page Coder Social logo

my_restaurents_backend's Introduction

Find my Favourite Restaurants

A Searching System Backend API for restaurants, Following are the features,

  1. Search a Restaurent by its Name
  2. Search for restauraent to check if available on any specific date and time,
  3. Scrap data from a restaurants details data website and insert it to DB. From Here
  4. Add the restaurant to your favourite collection and share the generated link with your friends and family.

Installation

Use the package manager console to install My Restaurants api.

Alternatively you can also clone the Repository.

  1. Clone this Repository and Extract it to a Folder.
  2. Change the Connection Strings for the "DefaultConnection" and "IdentityConnection" in the appsettings.json
  3. Change the Connection Strings for the "RedisConnectionString" with your Redis server connection string
  4. Run the following commands on Visual Studio Package Manager Console in the Projecct's Directory.
dotnet restore
update-database -c IdentityContext
update-database -c ApplicationDbContext

Run the Solution using Visual Studio

Swagger

You can view endpoints with swagger image

HealthCheck

You can check the status of the services with HealthCheck

Default Roles & Credentials

As soon you build and run your application, default users and roles get added to the database.

Default Roles:

  • SuperAdmin
  • Admin
  • Moderator
  • Basic

Here are the credentials for the default user.

You can use these default credentials to generate valid JWTokens at the ../api/account/authenticate endpoint.

Restaurants Features

  1. Get all Restaurants Names
  2. Check If the restaurant is open by Restaurants Name and Date-Time,
  3. Add Restaurant to the user's Favorite Collection.

Technologies

  • .NET Core 3.1
  • REST Standards
  • GraphQL
  • MSSQL
  • Microsoft Identity
  • Redis
  • SeriLog(seq)
  • AutoMapper
  • Smtp / Mailkit
  • Swagger Open Api
  • Health Checks

Features

  • Net Core
  • N-Tier Architecture
  • Restful
  • GraphQl
  • Entity Framework Core - Code First
  • Repository Pattern - Generic
  • UnitOfWork
  • Redis Caching
  • Response Wrappers
  • Microsoft Identity with JWT Authentication
  • Role based Authorization
  • Identity Seeding
  • Database Seeding
  • Custom Exception Handling Middlewares
  • Serilog
  • Automapper
  • Swagger UI
  • Healthchecks
  • SMTP / Mailkit / Sendgrid Email Service
  • Complete User Management Module (Register / Generate Token / Forgot Password / Confirmation Mail)
  • User Auditing

Prerequisites

  • Visual Studio 2019 Community and above
  • .NET Core 5 SDK and above
  • Basic Understanding of Architectures and Clean Code Principles

Full Documentation

A Full Demo With the Frontend

Anik Sarker My Restaurants Demo

my_restaurents_backend's People

Contributors

sarkeranik 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.