This app for testing blogger api
1 . Clone repository and cd into the folder.
2 . Install dependencies
npm install3 . Create a .env file in the root folder and enter your credentials:
# https://www.blogger.com/feeds
# http://BLOG_NAME.blogspot.com/feeds
API_URL=
BLOG_ID=Default:
API_URL=https://www.blogger.com/feeds
BLOG_ID=67322899911147936514 . Start the server by running the start script:
npm start5 . Make your API-requests to http://localhost:3000 instead.
1 . Create an account on https://heroku.com. This should be pretty straight forward.
2 . Install the Heroku CLI on your computer: https://devcenter.heroku.com/articles/heroku-cli.
Check that you have the heroku-cli installed by checking the version number in your terminal:
heroku --version3 . Connect the Heroku CLI to your account by writing the following command in your terminal and follow the instructions on the command line:
heroku loginUse your credentials from the earlier account creation.
4 . Then create a remote heroku project, kinda like creating a git repository on GitHub. This will create a project on Heroku with a random name. If you want to name your app you have to supply your own name like heroku create project-name. The command below will just create a random name:
heroku create5 . Push your app to Heroku like pushing to GitHub expect for origin you have heroku (you will see a wall of code).
git push heroku master6 . Visit your newly create app by opening it via heroku:
heroku open7 . Visit your newly create app by opening it via heroku:
heroku config:set API_URL=XXX
heroku config:set BLOG_ID=XXXIf you are getting errors you can view the error logs by running this command:
heroku logs --tailThis might give you a hint on what's wrong.