Deploying on Heroku

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset