Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.32 KB

CodeQL Ruby on Rails CI

Rails React Starter Banner

Rails React Starter

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.

Tech Stack

  • Ruby 3.1.2
  • Rails 7.0.4
  • React 18.2.0
  • TailwindCSS 3.2.4
  • Docker

Setup Rails

  • cd server
  • bundle install
  • rails db:create
  • rails db:migrate
  • rails db:seed

Setup React

  • cd client
  • npm install

Run Rails

  • cd server
  • rails s

Run React

  • cd client
  • npm start

Setup with docker

Assuming you have docker and docker-compose installed

  • docker-compose run server bin/rails db:create db:migrate db:seed

Run with docker

  • docker-compose up