Skip to content

AndyPelaez/ContactsApi

Repository files navigation

ContactsApi

This project was generated with node version v16.16.0 and npm version 8.11.0.

Steps to install:

LOCAL

DEVELOPMENT MODE

  • Before running the api, ensure the connection string is rigth in the env file(.env.development)
  • Run “npm run migrate:dev:up” to execute all migrations
  • RUN “npm run start:dev” to run the api server

TESTING MODE

  • Before running the api, ensure the connection string is rigth in the env file(.env.testing)
  • RUN “npm run test” to run the api tests

AUTOMATIC BUILD

  • Ensure you have installed docker on your machine(link)
  • Ensure you do not have any service running on ports 4200 and 3001.
  • Clone the Angular app repository and store it in the same project's folder.
  • Run automatic build “docker-compose up --build -d”
  • Run “npm run migrate:up” to add initial data.
  • Check services are running correctly in http://localhost:4200,

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published