/bookmarker

Rails API Endpoint bookmark manager. Used in conjunction with Push Chrome Extension to sync important URL's to all team members.

Primary LanguageRuby

Bookmarker by Push

A ruby application that provides both a CMS for links and an API available by private key (see workflow notes).

Developer Setup

note: the following instructions assume ruby 2.0+, postgres and rails 4.0+ have been installed on your local development machine

  1. Install dependencies using bundler

    bundle

  2. Start server

    rails s

This application defaults to a Postgres setup. To change it to another database, edit the config/database.yml file.

  1. Start/Stop Postgres on Mac OSX

    pg_ctl -D /usr/local/var/postgres -l logfile pg_ctl -D /usr/local/var/postgres stop -s -m fast

Workflow Notes

Current API Key: 81b65f696455e4f69e5b89243c4db30a

To generate a new API Key from terminal:

heroku run rails console
ApiKey.create!

Example Authenticated CURL Request:

curl https://vast-chamber-2812.herokuapp.com/api/bundles -H 'Authorization: Token token="81b65f696455e4f69e5b89243c4db30a"'

Links

API Endpoints