/list-of-ingredients

An example of using create-react-app with Rails 5 API, ActiveAdmin, and Heroku

Primary LanguageRuby

List of Ingredients

List of Ingredients

This repo serves as a companion to the tutorial Rails 5 API + ActiveAdmin + create-react-app on Heroku, over on Medium, and the end result should look something like this:

An example of the List of Ingredients app

Getting started

git clone https://github.com/superhighfives/list-of-ingredients.git
cd list-of-ingredients
bundle
cd client
npm install
cd ..
rake db:migrate
rake db:seed
rake start

Once you're ready to deploy to Heroku, run:

heroku apps:create
heroku buildpacks:add heroku/nodejs --index 1
heroku buildpacks:add heroku/ruby --index 2
git push heroku master
heroku run rake db:migrate
heroku run rake db:seed
heroku open

Success!

Suggestions, problems, typos?

Let me know in the issues.