https://github.com/CodemaniaNG/backend-assessment/blob/main/README.md
- You want to install the required packages, navigate to the base folder and run
yarn dev
, this will install all the required packages - Next start run the
docker compose up
to start-up the postgres on port (5432), server on port (8100) and adminer on port (8100) - Run generate script
yarn run generate
- Run migration script
yarn run migrate
- Seed the DB
yarn run db:seed
- Create your
.env
by following the.env.example
in the repo
Create an account from the api endpoint {{base_url}}/auth/register
copy the generated [api-key] and include it to the header["Authorization"] = [api-key] of subsequent request.
- api to create an account and generate api key
- api to create a package
- api to get all packages
- api to update a package
- api to retrieve a package
- add rate limiting
- api to track a package
- Restricted routes
- Protected routes