Skip to content

jhonatanaraujo1/nest-shopping-list

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published