Skip to content

ricardovejarano/shipments-and-organizations

Repository files navigation

Shipments and Organizations


Prerequisites

In order to run this project, it's needed:

  • Docker Desktop (here the Postgres database and pgAdmin will be build).

Install dependencies

npm i

Set up DB

npm run db:up npm run db:migrate

Seed DB

In another bash (located in the same directory), run:

npm run send

Then, you will be able to log into the pgAdmin with email: [email protected] and password admin

Take into account:

In order to create a connection in pgAdmin the host must be host.docker.internal

Start in dev

npm run start:dev

Run tests

npm run test:cov

Just added tests for weight-converter 😅


TODO:

  • Improve express response mechanism. Standardization.
  • Implement schema validations.
  • COVERAGE
  • Workaround PrismaClient to work with inversify.
  • Always can get better 🤷🏻‍♂️

About

Typescript project which uses express to expose an API to play around with data stored in a Postgres DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages