https://github.com/explooosion/nest-example
Nest is a node.js framework
https://github.com/explooosion/nest-example
example express nest nestjs nodejs practice
Last synced: 11 months ago
JSON representation
Nest is a node.js framework
- Host: GitHub
- URL: https://github.com/explooosion/nest-example
- Owner: explooosion
- License: mit
- Created: 2018-08-30T18:10:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T02:17:22.000Z (over 7 years ago)
- Last Synced: 2025-01-24T22:11:45.184Z (about 1 year ago)
- Topics: example, express, nest, nestjs, nodejs, practice
- Language: TypeScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nest Example
## Description
description
## Installation
```bash
yarn
```
## 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
```
## Request
### Get
- [http://localhost:3000](http://localhost:3000)
- [http://localhost:3000/cats](http://localhost:3000/cats)
- [http://localhost:3000/cats/1](http://localhost:3000/cats/1)
### Post
- [http://localhost:3000/cats](http://localhost:3000/cats)
- Body -> x-www-form-urlencoded
```js
name:Samdy
age:21
breed:Persian cat
```