Commit Graph

9 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 1fbb9a7dae
Add support for meals customization (#15)
* Add meals as JSON field on User

* Change journal entry meal field to integer

* Make Quill and Draggable more modular

* Add meals routes and controller (WIP)

* Set default meals during migration

* Handle meals form

* No-op meal field migrations

This allows tests to pass easier and the migrations are not entirely
necessary anyway.

* Update factories and tests for new meals format

* Add basic meals edit test

* Update journal entry processing for new meal values

* Remove temporary migrations

* Only use default enabled meals in tests

* Add User `meals_enabled` attribute

* Ensure NULL values are removed from attributes

* Add meals data to use API response

* Set default meals on user create
2021-05-30 13:11:58 -07:00
Christopher C. Wells 77b06c62b1 Add formatted days attribute to Goal 2021-05-15 21:40:53 -07:00
Christopher Charbonneau Wells 350a08a14d
Add Heroku support (#12) 2021-04-06 10:05:10 -07:00
Christopher C. Wells 2b3f0c31f6 Add Media API tests 2021-04-02 23:42:27 -07:00
Christopher C. Wells 192070f826 Ignore API closures for coverage 2021-04-02 23:42:27 -07:00
Christopher C. Wells 0ec83db285 Add Goals API endpoint 2021-04-02 23:42:27 -07:00
Christopher C. Wells 1776d5c83b Re-enable User API endpoint 2021-04-02 23:42:27 -07:00
Christopher C. Wells c29c88776f Add tagging support to foods and recipes 2021-01-23 19:58:03 -08:00
Christopher C. Wells 166427dce6 Establish base JSON:API endpoints 2021-01-23 14:21:37 -08:00