This repository is a backend of a Restaurant app written in node Express and mongodb.
- Run npm install to install all project dependencies available in package.json file.
- In .env file
- mongoUrl = // Add your mongodb database connection URL here
- secretKey = // Secret key to be used in jwt encrypting jwt
- Having everything installed run "npm run dev". This command will start your server using nodemon package as included in the package.json file.
- You can Signup a user using username, and Password.
- You can Login a user using username and password and user will be authenticated using a jwt token.
- The app has two types of users one one will be admin and other will be simple user.
- The app has different routes used to list Restaurant related things.
- There are route for dishes, leaders, promotions and comments on dishes.
- Admin can add dishes,promotions with their respective descriptions.
- User can comments and can add dishes to their favrouties.
- There are many more features in this project.