Frontend Repo: https://github.com/emrichmp/myFoodJournal-Frontend
*** Please check out the front-end repo, I go more in-depth into this project on the front-end and I did not want to just copy and paste the same README on both ends (lol) ***
myFoodJournal brings all your food tracking needs! myFoodJournal lets a user to add food to their meals in their diary. They also may add their goals and macros so they can hit those goals and track along with it. If a user doesn't know where to start they can also use the included TDEE calculator to find an estimated caloric intake and a recommended macro breakdown! This is just the back-end so this will handle all the data manipulation but the front end is were the user gets this true experience! So go check out the front end!
If you'd like to experiment with this app or run it locally fork and clone this repo.
- In console run
bundle install
to install all dependencies. - Then run
rails s
to get the server started and navigate to "http://localhost:3000/" - If you are using this to run with the front-end, go to that repo (linked at the top) and follow the installation instructions there to get that up and running.
This Ruby on Rails API/Backend was created using 'rails' and 'fast_jsonapi' gems to quickly establish an API. It follows the MVC conventions and uses Serializers to sort the data. This Project also recruits the use of 'rack-cors' for fetch calls from the front-end, 'bcrypt' for ActiveRecord passwords, postgres for the database and 'puma' for the server. The backend handles all the data relationships and creation.
If you have any questions about this app or want to contact me in general, please email me at emrichmp@gmail.com
Copyright 2021 Emrich-Michael Perrier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Link to License: https://opensource.org/licenses/MIT