Skip to content

Latest commit

 

History

History
91 lines (61 loc) · 2.05 KB

README.md

File metadata and controls

91 lines (61 loc) · 2.05 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Support us

Description

Created a shopping list API:

  • create (POST)
  • updateById (PATCH)
  • getAll (GET)
  • getById (GET)
  • removeById (DELETE)

Installation

#installing npm in the project
$ npm install

## Install docker commands
$ sudo apt-get install docker-engine -y

# start docker service
$  sudo service docker start

# Check if docker is up
$ sudo docker run hello-world

Running the app

# loading docker configuration postgres 
$ docker-compose up

# finally run the shopping list project and be happy :D
$ npm run start

Environments

# localhost
$ http://localhost:3000

# Swagger
$ http://localhost:3000/api

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Technology

  • NODE.JS (NEST.JS)
  • DOCKER
  • POSTGRESQL
  • SWAGGER

Stay in touch