Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Latest commit

 

History

History
50 lines (41 loc) · 1.95 KB

README.md

File metadata and controls

50 lines (41 loc) · 1.95 KB

CivicMakers API

This is the API that supports the Web Client.

See the Spec.

Ruby 2.2.2. Rails 4.2.3. Postgres.

Setup Steps

Deployment Instructions

Push to the civicmakers-api Heroku app.

Next Steps

  • Add a project.status attribute, so that users can save their in-progress work before they are ready for it to become public
    • This will have to be added to the spec as well
    • Also, a filter needs to be added like this: GET /projects?status=published
  • Rename profile to user, both in the code and in the API spec
  • Of the CRUD operations, only the R endpoints have been implemented. So Create, Update & Destroy are still to be done.
  • At this point we can switch from using hard-coded JSON to using the API
  • The Gemfile has gem 'rails', '4.2.3', which I'm not sure should be there because we're using rails-api. Investigate.
  • Add model validations
  • Add tests
  • Write the spec in Swagger
  • Currently we have two models, ProjectImage and ProjectComponentImage, that are the same data wise, and only differ because of their relationships. Merge these into 1 model.
  • Setup some code quality checkers.
  • Create some seed data