Deployed at:- https://teledirectory-api.herokuapp.com/
- Sign Up:- api/signup
- Login:- api/login
- Fetch All Contacts:- api/fetch-contacts
- Add Contact:- api/add-contact
- Get Contact By ID:- api/contact/{ID}
- Modify Contact By ID:- api/modify-contact/{ID}
- Delete Contact By ID:- api/delete-contact/{ID}
- Login to Heroku account.
- Create a new github repository and push the code to it.
- Create a new Heroku Application.
- Connect the application to Github repository by going to Deploy section in the dashboard.
- Go to Setting section in the dashboard, then to "Config Vars" and add the environment variables.
- Finally deploy the main branch.
Following environment variables are required for the application to run:-
- TOKEN_KEY
- URI
- USER
- PASS