Frontend Source Code: https://github.com/Abhisek0721/foodhostel
Backend Live: https://foodhostel.abhisekh.info
To run this api: Step-1
npm install
Step-2
npm run dev
The following environment variables can be set to configure the project:
{
"PORT": 3000,
"SERVER_URL": "http://localhost:3000",
"CLIENT_URL": "http://localhost:8080",
"MONGO_URI": "MONGODB ATLAS URI",
"AES_SECRET": "gsoifhkmnx0wqqbhbxzmbwe",
"SESSION_SECRET": "pwegpbpqxzslgfamnx",
"REDIS_PASSWORD": "REDIS PASSWORD",
"REDIS_HOST": "localhost",
"REDIS_PORT": 6379,
"REDIS_URL": "external redis url",
"RAZORPAY_KEY_ID": "rzp_test_74l7fOTJq7OZMi",
"RAZORPAY_KEY_SECRET": "pmBAe8uuVMZzWvdj5xCnzkZM"
}
Link mentioned below provides the API documentation: