In the project we created a small app for learning purposes. This app's front-end implemented with React.js but it is incorporated in a Rails project which implements backend functionality.
- ReactJS/Redux
- Ruby on Rails
Follow this steps to get the app running on local machine:
-
Clone this repo https://github.com/mugberto/hello-rails-react
git clone https://github.com/mugberto/hello-rails-react.git
-
Navigate to hello-rails-react folder/directory
cd hello-rails-react
-
While inside hello-rails-react folder, install gems with
bundle install
-
Next, create and populate the database with initial data
rails db:setup
-
Next, install dependencies of the react app.
npm install
-
Lastly, start the rails server
rails server
-
Open http://localhost:3000 to view it in the browser.
Note: You may need to change the port number if your are running rails server on a different port.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/newFeature
) - Commit your Changes (
git commit -m 'Add some newFeature'
) - Push to the Branch (
git push -u origin feature/newFeature
) - Open a Pull Request
👤 Hubert Mugabo
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
- Microverse Team
Give a ⭐️ if you like this project!