This is the backend portion Trigger - a capstone project at Turing School of Software and Design. It's designed to interface with the Trigger Front-End Application
- This project used a Dev, Staging, Production workflow.
After cloning this repo...
- Install dependancies with
$ bundle
- Run the test suite using rspec with
$ bundle exec rspec
- Run the server locally with
$ rails s
. The server runs on port 3000 by default, athttp://localhost:3000
- API endpoints are nested under
/api/v1
. - Example:
GET localhost:3000/api/v1/foods
- Endpoints are documented in OpenAPI 3.0 (formerly Swagger Specification) and can be found in the
openapi.yaml
file in this projects root directory - Details about OpenAPI 3.0 can be found here
- A visual, interactive version of the documentation can be rendered by copying the
openapi.yaml
file and pasting it's contents into the Swagger Editor
- Cesar Jolibois - Github: Diazblack
- Michael Gatewood - Github: mngatewood
- Quinn krug - Github: Q-Win
- Preston Jarnagin - Github: prestonjarnagin
Fork and clone this repository. If you generate a pull request, we can start a discussion about of the feature you build or you can contact us in the links above.
- The schema can be simplified by generalizing the two pairs of tables into a single pair of joined tables that track activities and activity instances. This could be used to track not only foods and reactions, but things like exercise, and the use of certain products like cosmetics, as well
- Ruby & Rails
- RSpec
- FastJSON
- Pry
- SimpleCov
- ShouldaMatchers