Skip to content

AnirudhM1/Food-Ordering-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Cibus!

This website was created for the core review assignment for DevSoc.

The video guide for this website is hosted here: VIDEO

Development

Install pnpm (if not already installed):

$ npm install -g pnpm

Clone the repository:

$ git clone [email protected]:AnirudhM1/Food-Ordering-Website.git
$ # If ssh is not set up,
$ # git clone https://github.com/AnirudhM1/Food-Ordering-Website.git
$ cd Food-Ordering-Website

Install the dependencies

$ pnpm install -C frontend
$ # To install the local server as well,
$ # pnpm install -C backend

Set environment variables:

$ cd frontend
$ cp .env.local.example .env.local
$ # Fill the empty variables
$ # If you are using local mongodb, to start the local instance,
$ # sudo service mongodb start

Start the Next.js application in development mode:

$ pnpm dev

To start a build optimized server:

$ pnpm build
$ pnpm start

To start the local server:

$ # Navigate to the backend folder
$ # cd backend
$ # Add environment variables
$ cp .env.example .env
$ # Fill the empty fields
$ pnpm dev # Reccomended for development
$ # or
$ pnpm start

Tech stack

Main app:

Made using Next.js and it's serverless functions for api fetching and connecting to mongodb database. Next-Auth library is used to handle authentication Scss is used for Styling.

Local server:

Made using express to connect to mongodb database.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages