Contents
- Ruby version
- System dependencies
- Configuration
- GraphQL Queries/Mutations
- JSON Routes
- Database Related Info
Should mention that some of these have an equivalent HTML routes with templates. Some templates are missing as these will not be used since we are using react and polaris.
List of Users (need to be admin or user peterspam user)
- /users.json
- /users (This is the equivalent html route)
Budget Plans (currently logged in user)
- /users/budget_plans.json
Categories (returns all valid categories these are not user specific)
- /categories.json
Expenses
- /plan/:budget_plan_id/expenses.json
On AvtiveRecord::RecordNotFound error -> returns json {"error":"Budget plan not found for this user."}
Database Schema
The project is managed by dev up utility, upon executing dev up
, an empty mySql database will get created for you.
Once you have the project up and running with dev server
execute the following command
rails db:seed
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
...