Skip to content

oguzhan-ulutas/food-ordering-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

food-ordering-platform

A food ordering application where users can order food and manage a restaurant.

Setup

To run locally follow the steps.

Step 1: Environment File Setup

Create a .env file for client and server directories enter .env variables.

Server .env File

Mongodb - Client Url

MONGODB=your-mongodb-string CLIENT_BASE_URL=your-client-url

Auth0

AUTH0_AUDIENCE=your-audience-string AUTH0_ISSUER_BASE_URL=your-issuer-base-url

Cloudinary

CLOUDINARY_CLOUD_NAME=your-cloudinary-name CLOUDINARY_API_KEY=your-cloudinary-api-key CLOUDINARY_API_SECRET=your-cloudinary-api-secret-key

Client .env File

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

Step 2: Dependency Installation

Execute inside the both client and server folders.

npm install

Step 3: Launching the Development Server

Execute:

npm start

Or to start the server continuously with nodemon:

npm run dev

Step 4: Launching the Client

Inside the frontend folder execute:

npm run dev

Thanks

@chrisblakely01 for his youtube video.

About

A food ordering application where users can order food and manage a restaurant.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published