Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 972 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 972 Bytes

Swanson Permit Front End

See it Live! -- https://swanson-permit-front-end.herokuapp.com

This is a front end to the Swanson Permit API

Installation

  • npm install -g json-server

  • bundle install

  • bundle exec rails webpacker:install

  • rails db:create and then Delete the migration that is generated.

  • Set the url of the target api as an environmental variable ACTIVERESOURCE_ROOT_URL=https://swanson-permit-api.herokuapp.com/api/v1

Note: to run locally, the API must be running on a different port. $ env ACTIVERESOURCE_ROOT_URL=http://localhost:3000/api/v1

This is a toy app to demonstrate an activeresource font end for a Ruby on Rails API.

Attributions

Logo & favicon image by Dave Barry

Ron Swanson is Nick Offerman