A food ordering application where users can order food and manage a restaurant.
To run locally follow the steps.
Create a .env file for client and server directories enter .env variables.
MONGODB=your-mongodb-string CLIENT_BASE_URL=your-client-url
AUTH0_AUDIENCE=your-audience-string AUTH0_ISSUER_BASE_URL=your-issuer-base-url
CLOUDINARY_CLOUD_NAME=your-cloudinary-name CLOUDINARY_API_KEY=your-cloudinary-api-key CLOUDINARY_API_SECRET=your-cloudinary-api-secret-key
VITE_API_BASE_URL=your-server-url
VITE_AUTH0_DOMAIN=your-auth0-domain VITE_AUTH0_CLIENT_ID=your-auth0-client-id VITE_AUTH0_CALLBACK_URL=your-client-url VITE_AUTH0_AUDIENCE=your-auth0-audience
Execute inside the both client and server folders.
npm install
Execute:
npm start
Or to start the server continuously with nodemon:
npm run dev
Inside the frontend folder execute:
npm run dev
@chrisblakely01 for his youtube video.