It is an api that will support the insight-social-media application in various ways, such as login, http methods and etc. This api also has a mock db from the jsonplaceholder. All methods consume this db and not the original source, so we can make adjustments to the database to be able to deliver more versatile reports.
You may git clone into the Master branch and create another one
https://github.com/efefarias/api-auth.git
We use in this api bcrypt, express and nodemon dependencies such as below
npm i bcryptjs
npm i express
npm i --save-dev nodemon
or
yarn add bcryptjs
yarn add express
To run this api we need the port 3001 at http://localhost released. At package.json we have the script to run our application too
yarn run devStart