Skip to content

Priyadarshanvijay/CS-GY-6083-Cookzilla-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

  1. Clone the repository to your local.
  2. Download and install Node.js + npm if you don't have it installed: https://kinsta.com/blog/how-to-install-node-js/
  3. Install backend packages using the following commands:
cd nodejs
npm ci
  1. Install frontend packages using the following commands:
cd frontend
npm ci
  1. Create environment variables file in backend using the following command:
cd nodejs
touch .env
  1. Initialize the .env file with following variables:
PORT=3000
DB_HOST=localhost
DB_USER_ID= `YOUR_DATABASE_USER_ID (Defaults to root)`
DB_USER_PASSWORD= `YOUR_DATABASE_PASSWORD`
DB_NAME=cookzilla
JWT_SECRET= `YOUR_ENCRYPTION_KEY (COULD BE ANY RANDOM STRING)`
  1. Start the Server:
cd nodejs
npm start
  1. Open a separate terminal and start the frontend:
cd frontend
npm start
  1. Open browser and navigate to http://localhost:8081

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published