Meal Planning app designed with React/Redux and Rails API
Frontend file, view backend here
Frying Plan React/Redux application, using Rails as an API, that allows users to create meal plans by adding and removing recipes.
Prepare the backend by navigating into the backend folder and completing the following steps:
Make sure that you have all necessary gems by running:
bundle install
Run the migrations
rails db:migrate
Seed the database
rails db:seed
Prepare the frontend by navigating into the frontend folder and completing the following step:
Install the necessary packages
npm install
To start the server, enter this command in your backend folder:
rails s
To open the application, enter this command in your frontend folder:
npm start
You will be notified that there is already already something running on the port, which is expected. To continue, enter:
y
The program is available as open source under the terms of the MIT License
Pull Requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration.
Handling Nested Attributes with a Has Many Through Association with Rails API
A guide to handling nested attributes with a has_many :through association with Rails and React/Redux