Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.39 KB

File metadata and controls

66 lines (42 loc) · 1.39 KB

Foodora-Backend

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:-

FEATURES

  • 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

RUNNING THE SERVER

  1. Clone the repository:
git clone https://github.com/Archiehere/Foodora_Backend.git

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

  1. Install the dependencies:
npm install
  1. Setup .env file in base directory:
dbconfig  = ''
PORT= ''
JWT_SECRET_KEY = ''
ACCESS_TOKEN_SECRET= ''
REFRESH_TOKEN_SECRET= ''
password= ''
  1. Run the backend server on localhost:
npm start

You can access the endpoints from your web browser following this url

http://127.0.0.1:4000