-
install all the require dependecies using command
yarn install
-
install nodemon ->
yarn add nodemon -D
-
create a database named
cake
in mongodb compass. -
now create collections inside the database 'cake' a)
menus
b)orders
c)users
-
now import
menus.json
file inmenus
collection from the files above -
Create a .env file in the root folder and give a cookie secret COOKIE_SECRET = thisismysecret
yarn dev
yarn watch