https://github.com/bluediu/teslo-nestjs
Testing App for Nest.JS
https://github.com/bluediu/teslo-nestjs
docker nestjs postgresql rest-api
Last synced: 2 months ago
JSON representation
Testing App for Nest.JS
- Host: GitHub
- URL: https://github.com/bluediu/teslo-nestjs
- Owner: bluediu
- Created: 2025-01-16T17:59:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T01:13:02.000Z (over 1 year ago)
- Last Synced: 2025-06-04T09:22:40.466Z (about 1 year ago)
- Topics: docker, nestjs, postgresql, rest-api
- Language: TypeScript
- Homepage:
- Size: 260 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.
## Project setup
1. Install dependencies
```bash
$ yarn install
```
2. Create a environment configuration file:
```bash
touch .env
```
3. Populate the `.env` file with the required environment variables. Ensure you use secure and appropriate values for the environment.
4. Start Database Engine
```bash
$ docker-compose up -d
```
## Rebuild database (development)
`localhost:/api/seed`
## Compile and run the project
```bash
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
```
## Run tests
```bash
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
```
## License
Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).