Create a React-Rails App Example
This is working example for the Today I Learned How to Create a React-Rails App blog post.
Install Docker and then build the containers by running the following command:
docker-compose build web
After the containers are built you need to update the yarn dependencies and create the databases:
docker-compose run web bash yarn install rake db:create exit
You can test if everything is working correctly by running the container and navigating to localhost:3000. You should see the "Welcome to Rails" page if everything is working correctly.
docker-compose up web
Thanks to folks who created React-Rails.