A successful combination of REACT as the interface and RAILS as the back end
- Ruby version 3.0.3
- RoR version 7.0.2
The project comes shipped with linters config for ruby, so ensure you have Rubocop installed in your local environment
- Ensure you have postgresql, nodejs, ruby and rails set up on your machine
- To get a local copy of the repository please run the following commands on your terminal:
- $ git clone https://github.com/see-why/hello-rails-react.git
- $ run
bundle install
to couple all dependacies in gem files - $ run
npm install
to couple all dependacies in package.json files - $ run
rspec spec/models
to run application models unit tests - $ run
rspec spec/requests/api/v1
to run endpoint unit tests - $ run
rails server -p 3000
to see React-Router working and./bin/webpack-dev-server
enables auto-webpacking
Run rails db:create db:migrate db:seed
Seeding adds five random greetings to the greeting table.
P.S : if you are coming from a previous version, you might want to delete the database by running rails db:drop (run with caution as all data will be lost)
👤 Cyril Iyadi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- my dog Perry for the comforting lick here and there
- This project is MIT licensed.