Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugocruzlfc/nestjs-postgres-mikroorm-realword-example-api
Real example api with Nestjs, Postgres, Mikro-ORM.
https://github.com/hugocruzlfc/nestjs-postgres-mikroorm-realword-example-api
api-rest mikro-orm nestjs postgres
Last synced: about 12 hours ago
JSON representation
Real example api with Nestjs, Postgres, Mikro-ORM.
- Host: GitHub
- URL: https://github.com/hugocruzlfc/nestjs-postgres-mikroorm-realword-example-api
- Owner: hugocruzlfc
- Created: 2024-01-20T09:24:09.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-26T15:30:10.000Z (12 months ago)
- Last Synced: 2024-01-26T16:38:54.632Z (12 months ago)
- Topics: api-rest, mikro-orm, nestjs, postgres
- Language: TypeScript
- Homepage:
- Size: 465 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
A progressive Node.js framework for building efficient and scalable server-side applications.
## Description
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
## Installation
```bash
$ yarn install
```## Configurations
```bash
Update .env file
npx mikro-orm migration:create --initial # generates the migration file
npx mikro-orm seeder:create DatabaseSeeder # generates the class DatabaseSeeder
npx mikro-orm seeder:run # runs the seeders
```## Running the app
```bash
# development
$ yarn run start# watch mode
$ yarn run start:dev# production mode
$ yarn run start:prod
```## Test
```bash
# unit tests
$ yarn run test# e2e tests
$ yarn run test:e2e# test coverage
$ yarn run test:cov
```