Skip to content

saturdaymp-examples/create-react-rails-app-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Create a React-Rails App Example

This is working example for the Today I Learned How to Create a React-Rails App blog post.

GitHub Sponsors

Quickstart

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

Contributing

If you have any questions, notice a bug, or have a suggestion/enhancment please let me know by opening a issue or pull request.

Acknowledgements

Thanks to folks who created React-Rails.

About

Example code for creating a new React Rails application,

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published