The Daily Diet API repository hosts the source code for an impactful API designed to support the Daily Diet application. This API empowers users by providing a versatile array of features, enabling seamless management of daily meals and facilitating progress tracking towards dietary aspirations.
The API enables users to log their meals with ease. By inputting essential details such as meal names, descriptions, timestamps, and compliance status with their dietary regimen, users can keep a comprehensive record of their nutritional intake.
First of all, clone the project in your computer.
git clone [email protected]:gustavogarciac/dailydiet-api.git
Next, you have to create two files in the source of the application such as .env and .env.test You can access the example files to know what to write.
// Install necessary dependencies
$ npm install
//Run the server
$ npm run dev
- NodeJs
- Fastify
- Knex
- Zod
- Sqlite
- Dotenv
- Supertest
- Vitest
- TypeScript
Feel free to use this material to your own projects. Keep studying, we can change the world!