Deploy the REST API
This is the final section where you need to deploy the REST API.
Steps to deploy the API.,
- Create a Git Repository and push the API code.
- Login to heroku.
- Click on New -> Create new app.
- Enter your application name [API name].
.png)
5. Click Connect to GitHub and allow access to heroku.
6. Search for the repository in which the REST API is stored and connect.
7. Click on deploy branch and click on view when its deployed.
8. Type in your Endpoint in the search bar, if there are no errors, you would see a
[ ]
Congratulations!! You have successfully deployed a REST API😎.
20
