A NodeJs API to track the macro nuntrient in your food.
Express and MongoDB
andYarn` as package manager, so just make sure you have these dependencies installed before you clone this repo.
How to use it ?
- Just clone this repo and install the dependencies using
- Run the application using
- visit 127.0.0.1:3000
How to seed data ?
There is a
seeder.csv file inside the data directory that contains a csv containing some seed data that you can use to just get started with the
In order to make the seed the data to MongoDB, just visit
Once the seeding is done, you could visit
127.0.0.1:3000/api/calorie to view all the food items available and it’s macro nutrient information.