API service that allows authenticated users to save contact information
PORT=3000
NODE_ENV=development
PG_PASSWORD=****
PG_PORT=5432
PG_HOST=postgres
PG_USER=postgres
PG_DATABASE=****
JWT_SECRET=****
JWT_EXPIRES_IN=*d
JWT_COOKIE_EXPIRES_IN=*
$ git clone https://github.com/sheygs/contact-manager-backend.git
$ cd contact-manager-backend
$ yarn
- Run
docker-compose up -d
. - Open browser and visit
http://localhost:3001
- Run
yarn start:dev
to run the service. - Open browser and visit
http://localhost:3001
$ npm test
- Please see
/postman_docs
directory on the root OR - Navigate to
http://localhost:3001/api-docs
on your computer to view the openapi documentation.
- Implement Caching for frequently accessed data
- Implement Pagination for large data sets