This is an API made for the Contacts web application, an online application to save and organize all of your favorit contacts.
(All registered contacts are fictitious)
You can check the front-end application here: https://github.com/victordurco/contacts
And the working application here: https://pagaleve-contacts-api.herokuapp.com
git clone https://github.com/victordurco/contacts-api
cd contacts-api
npm i
Create a .env.dev file and fill it using your environment variables following the example at .env.example file. (You can also create a .env.test file following the same .env.example, if you want to run the tests).
sudo su postgres
psql
CREATE DATABASE contacts_api
\c contacts_api
Copy everything in the DATABASE.sql file and paste on the terminal
You can not exit the postgres admin, and run
npm run dev