Backend system for Food Delivery mobile app.
# Clone the app
git clone https://github.com/ameenfarook/food_delivery_app_backend.git
# navigate to app directory
cd food_delivery_app_backend
npm install
- MongoDB Connection
# open package.json and add connectionString inside [projectConfig.mongoConnectionUrl]
"projectConfig": {
"mongoConnectionUrl": "<put the mongodb connection string here>"
}
- Application IP Address and Port Number (Default 3000)
# open package.json and add ip and port inside [projectConfig]
"projectConfig": {
"serverIp": "<put the server ip address here (string)>",
"serverPort": "<put the server port number here (integer)>"
}
foodelivery_db
-
users #for user specific data (email and username are unique indexes)
{
"_id": {
"$oid": "Default ObjectID"
},
"email": "String (unique)",
"username": "String (unqiue)",
"password": "String (hashed)"
}