Service to register clients, accidents and affected third parties.
You can find the endpoints documentation here.
- Node.js (> v16)
- PostgreSQL (> v10)
First, you need to create a .env file in the root of the project, based on the .env.example file.
Then, you need to install the dependencies:
npm installInsert Postgres connection string in the .env file (DATABASE_URL variable) and run the migrations:
npm run migrations:executeAnd finally, you can run the project:
npm run startThat's it! The project will be running on localhost:${PORT}.
npm run typeorm migration:create src/database/migrations/{migrationName}npm run migrations:revertnpm run testnpm run lint