Author: LuckyGStar
The following assumes that you have a machine equipped with Ruby, Postgres, etc. If not, consider setting up your machine with this script.
After you have cloned this repo:
- Run
bundle
- Create the database
rake db:setup
- Run the application using Heroku Local
heroku local
- Navigate to localhost:3000 and see the project up and running.
- Api without auth : localhost:3000/api/v1/feed
- Api with basic auth : localhost:3000/api/v2/feed
- Api without auth : https://rails-feed-api.herokuapp.com/api/v1/feed
- Api with basic auth : https://rails-feed-api.herokuapp.com/api/v2/feed
You can deploy to staging and production, respectively, with:
$ git push heroku master
Use the following guides for getting things done, programming well, and programming in style.
Feel free to make new PR and contributions for this project. Any issues also welcome!