Meal Management App is a Backend API You are building a backend API for a meal management application that allows users to create, read, update, and delete meal addons. meal addons. The API also allows users to create categories for these addons.
It has the following functionalities
- A user can create a Base User or Admin account
- A user can create an addon
- A user can retrieve an addon
- A user can retrieve all addons
- A user can update an addon
- A user can delete an addon
- A user can create an addon category
-
Clone this repo
git clone https://github.com/olad5/meal-management-app.git
-
Postman API docs: Link
-
Live Link: Link
- Install and start Docker if you haven't already.
- Copy the
.env
template file. Input the passwords and app secrets.
cp .env.sample .env
- Build and run the image to run the Postgresql Database service.
docker compose up --build
- Run migrations
npx knex migrate:latest --knexfile=src/infrastructure/adapter/persistence/knex/knexfile.ts
- Start app
npm run start:dev
You can visit the app by going to http://localhost:5300
.
cp env/sample.test.env env/.test.env
npm run test
- Nest js - Node js Framework
- Postgresql - Database
- Knex js - The Query Builder for Node.js
- Objection js - The ORM for Node.js