mirror of
https://github.com/t3xhno/nestjs-auth.git
synced 2024-11-22 10:23:42 +00:00
updated readme
This commit is contained in:
parent
fd78ed7bf7
commit
154220e082
35
README.md
35
README.md
@ -34,6 +34,20 @@ $ npm install
|
|||||||
|
|
||||||
## Running the app
|
## Running the app
|
||||||
|
|
||||||
|
The Postgres database is dockerized, and the image must be installed:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up dev-db -d
|
||||||
|
```
|
||||||
|
|
||||||
|
Once the docker container with the database is runnig, the database can be removed, brought up again and migrated in a single command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run prisma:dev:restart
|
||||||
|
```
|
||||||
|
|
||||||
|
The nestjs backend itself is run using the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# development
|
# development
|
||||||
$ npm run start
|
$ npm run start
|
||||||
@ -47,26 +61,7 @@ $ npm run start:prod
|
|||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|
||||||
```bash
|
TBD
|
||||||
# unit tests
|
|
||||||
$ npm run test
|
|
||||||
|
|
||||||
# e2e tests
|
|
||||||
$ npm run test:e2e
|
|
||||||
|
|
||||||
# test coverage
|
|
||||||
$ npm run test:cov
|
|
||||||
```
|
|
||||||
|
|
||||||
## Support
|
|
||||||
|
|
||||||
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
|
|
||||||
|
|
||||||
## Stay in touch
|
|
||||||
|
|
||||||
- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
|
|
||||||
- Website - [https://nestjs.com](https://nestjs.com/)
|
|
||||||
- Twitter - [@nestframework](https://twitter.com/nestframework)
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user