Skip to content

LeonardoScalabrini/cep-backend

Repository files navigation

cep-backend

.env

#PORT PORT=9090

#MongoDB string connection STRING_CONNECTION_DB=mongodb://127.0.0.1:27017/correios

Dev quick start

  1. Install packages
npm install
  1. Install MongoDB
docker-compose up
  1. Create .env file

  2. Start locally

npm start

Run the tests

  1. Install packages
npm install
  1. Install MongoDB
docker-compose up
  1. Run tests
npm test 

Clair

docker run -d -e POSTGRES_PASSWORD=clair -e POSTGRES_USER=clair -e POSTGRES_DB=clair -p 5432:5432 --name postgres postgres:9.6 postgres docker run -d -p 6060:6060 --name clair --link postgres:postgres -v $PWD/clair_config:/config quay.io/coreos/clair:v4.3.6 -conf=/config/config.yaml

About

The cep-backend project is a comprehensive solution for managing zip codes using cutting-edge technologies and modern development practices. Built primarily with Node.js and JavaScript, this project leverages various tools and platforms such as Docker, npm, MongoDB, Google Cloud Platform (GCP), SonarQube, Snyk, DevSecOps and Terraform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors