mohsensalm / RestaurantApi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restaurant Api 🍽️

This project is a web api for booking tables and food in chain restaurants, it is not a complete project and there are many parts that can be added to it, my goal of this project is to practice Clean Architecture and design patterns such as CQRS and Mediator. If you fide a problem in this project or have an idea to improve it, I will be happy to tell you about it in the issues section.

Before Running πŸ‘¨β€πŸ’»

Before running the app, change the connection string in the appsetting.json file, You can also use this backup to have the data inside the database. If you have a problem restoring the backup, you can use this script to create a database with the data.

Note : if you set the connection string correctly, the program will automatically create the database in the first run

Some main scenarios πŸ‘‡

Login Register πŸšͺ

  • First User Enter Email or Phone Number
  • Then checked according to the image below and code send
  • Then the code along with the email or phone number will be received from the client side, if it is correct, a jwt token will be returned

Order and Payment πŸ’Έ

  • πŸ”΅ Blue : Font-End
  • πŸ”΄ Red : Back-End
  • 🟑 Yellow : Third party service

About

License:Other


Languages

Language:C# 99.5%Language:CSS 0.5%