Food Ordering App Built Using MERN Stack!

food ordering app screenshot

Available Scripts

In the root of the project run:

npm install

Also, navigate to the server folder and install modules there. You can do that by running:

cd server && npm install

Afterwards, start the server from the server folder by running:

node index.js

or

nodemon index.js

And to start the app in the development mode.
Open http://localhost:3000 to view it in your browser.

Go back to the project directory, you can run:

npm start

Environment variables

To store your environment variables, you can create .env file in the root of your project and fill in the following values:

STRIPE_SECRET_KEY=""
STRIPE_WEBHOOK_SECRET=""
REACT_APP_STRIPE_PUBLISHABLE_KEY=""
REACT_APP_FIREBASE_CONFIG_API_KEY=""
REACT_APP_FIREBASE_CONFIG_AUTH_DOMAIN=""
REACT_APP_FIREBASE_CONFIG_PROJECT_ID=""
REACT_APP_FIREBASE_CONFIG_STORAGE_BUCKET=""
REACT_APP_FIREBASE_CONFIG_MESSAGING_SENDER_ID=""
REACT_APP_FIREBASE_CONFIG_APP_ID=""
REACT_APP_FIREBASE_CONFIG_MEASUREMENT_ID=""