To run migrations, you'll need to set the environment variables for your database correctly. Remember that TypeORM migrations run outside Docker containers.
- So, how can I run this application?:
npm install
oryarn install
- Set up all the environment variables in a .env file (See variable examples in .env.example)
- If you have Docker and Docker Compose:
docker compose up
- If you don't have Docker:
yarn start:dev
You can run this application with an in-memory database by changing the injection's name in all services.
All the test suites are working perfectly, so if you want to know my view about the application, check them out
- To the unit tests on the services:
yarn test
ornpm run test
- To the E2E tests:
yarn test:e2e
ornpm run test:e2e
- NestJs
- TypeScript
- Jest
- Docker
- PostgresSQL
- JWT