An open API service indexing awesome lists of open source software.

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

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
```