Understand the setup process for adding React/Redux to rails application.
This project is made as part of Microverse program.
you can view the front-end of this app here
- Create a new Rails API app called 'Re-react-frontend'.
- Initialize your project with Git.
- Make sure that your project has a Postgres database set up.
- Create a table for storing your messages and create 5 different greetings.
- Create an API endpoint that selects a random greeting from your table (you will need a controller with an action an rails route).
- RUBY
- RAILS
- GEM
- TERMINAL
- React/Redux
Start by cloning the repository.
git clone [email protected]:direakanbi/Re-rails-react-backend.git
Navigate to the created folder.
cd Re-rails-react-backend
Current Ruby Version for this project
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
Install all the dependencies.
bundle install
npm install
Create and migrate the database
rails db:create
rails db:migrate
To run the server
rails s
Link to localhost
You can view the front-end repository here
Dire Akanbi
- GitHub: @DireAkanbi
- Twitter: @DireAkanbi
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
This project is MIT licensed.