A Nodejs based backend system for a Food Delivery Service using MongoDB,NodeJS,Express,Mongoose, and deployed on Railway. With Both a Flutter Based App and a ReactJS Website as Frontend:-
- NodeJS as a web framework for the backend
- PostgreSQL as the database
- Deployed on Railway
- Gelocation based recommendations using GeoFencing.
- Cart service
- Admin panel for the Seller side.
- Order Status and History.
- JWT Authentication for secure API access
- Clone the repository:
git clone https://github.com/Archiehere/Foodora_Backend.gitTo run the server, you need to have NodeJS installed on your machine. If you don't have it installed, you can follow the instructions here to install it.
- Install the dependencies:
npm install- Setup .env file in base directory:
dbconfig = ''
PORT= ''
JWT_SECRET_KEY = ''
ACCESS_TOKEN_SECRET= ''
REFRESH_TOKEN_SECRET= ''
password= ''
- Run the backend server on localhost:
npm startYou can access the endpoints from your web browser following this url
http://127.0.0.1:4000