Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugocruzlfc/nest-coffee
Official course by NestJs about Nest 10 + graphql + Apollo and more!
https://github.com/hugocruzlfc/nest-coffee
Last synced: 15 days ago
JSON representation
Official course by NestJs about Nest 10 + graphql + Apollo and more!
- Host: GitHub
- URL: https://github.com/hugocruzlfc/nest-coffee
- Owner: hugocruzlfc
- Created: 2023-11-09T10:31:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-10T13:28:42.000Z (about 1 year ago)
- Last Synced: 2023-11-11T14:23:41.885Z (about 1 year ago)
- Language: TypeScript
- Size: 364 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.
## Installation
```bash
$ npm install
```## Running the app
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Test
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```## Notes
```bash
# Create a entity
$ nest g class coffees/entities/coffee.entity --no-spec# Create a resolver
$ nest g resolver coffees# Create a service
$ nest g s coffees
$ nest g resolver coffees/coffee-flavors --flat , 👈🏻 this flag say to CLI to not create a folder and push the resolver to the coffees folder# Create a module
$ nest g module new-module-name# Create a provider
$ nest g provider coffees/data-loader/flavor-by-coffee.loader```