- Project contains of two folders, api and client.
- You have to go inside each folder and run
npm install
. - Create
.env
file in api folder. - Create
.env.local
file in client folder. - Then run
npm run dev
in both projects. - Go to
http://localhost:3000
in the browser to start exploring. - The
npm
andnode
version is mentioned in the package.json files for both projects. - Api runs on
http://localhost:5000/api
.
MONGO_DB_URL=mongodb+srv://calories:lvc7EOUGcn3S7XxW@cluster0.n91xu.mongodb.net/calories?retryWrites=true&w=majority
NEXT_PUBLIC_BASE_URL=http://localhost:5000/api
normal = deepak@test.com password = 12345678
admin = admin@test.com password = 12345678
Calorie limit can be update in the database in users collection in the
calorieLimit
field.