Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.23 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.23 KB

ryanlabouve/pimber-api

This API is a sample backend for pimber, an ember app for exploring Pinboard.in accounts.

Running Project

I have foreman setup, but it's just running rails right now. But if you're so inclined foreman start

If you're running the project locally you can see the API docs at http://localhost:3002/documentation

Seeding Database

This can be seeded off any Pinboard account given an API token. How to find your API token?

  1. Put your API token in /pimber-api/.env
# Example .env
PINBOARD_API_TOKEN=username:ALKSDLKFJSD23432
  1. Run db:seed through foreman
foreman run bundle exec rake db:seed

Foreman and Environment Varialbes Adding Environment Variable to Heroku Heroku Config and Config Vars

Additional Resources

If you are interested in this project, it's worth checking out [https://www.devmynd.com/blog/2014-7-rails-ember-js-with-the-ember-cli-redux-part-1-the-api-and-cms-with-ruby-on-rails].