Auth API that I created using HapiJS and JWT
To run this project, you will need to add the following environment variables to your .env file
Run this command before change/add env
cp .env.example .env
Clone the project
git clone https://link-to-project
Go to the project directory
cd my-project
Install dependencies
npm install
Start the server
npm run start
And go to http://localhost:3000/documentation to see what you can do
To run tests, run the following command
npm run test
NOTE: setup environment before testing
go to http://localhost:3000/documentation
heroku create
git push heroku main
heroku open
Alternatively, you can deploy your own copy of the app using this button: