The API is now finished. We can deploy it to Heroku, to make it available on the internet. As we already set up Heroku in the previous chapter, there is just one command to achieve our deployment. From the command line in the root of your project, enter the following:
git push heroku master
Once the deployment has finished, you can browse to https://shopping-fs.herokuapp.com/docs/swagger-ui/index.html?url=/v1/swagger.json.
Congratulations! You can now test the API online.