It combines the power of the React JavaScript framework with the simplicity and robustness of the Rails web application framework. The project is set up with a Rails backend that serves a JSON API and a React frontend that consumes the API and manages the application's state.
- Ruby 3.1.2
- Rails 7.0.4
- React 18.2.0
- TailwindCSS 3.2.4
- Docker
cd server
bundle install
rails db:create
rails db:migrate
rails db:seed
cd client
npm install
cd server
rails s
cd client
npm start
Assuming you have docker and docker-compose installed
docker-compose run server bin/rails db:create db:migrate db:seed
docker-compose up