This repository is for new projects that utilize Rails API for backend and React for front-end. After spending many hours creating these from scratch I decided to quickly make a template repository for quickly starting my new projects. This is as basic as you can get so expansion should not be a problem, all css files have been removed as well.
-
Ruby version ruby 2.7.4
-
System dependencies
gem "rails", "> 7.0.6"
gem 'bcrypt', '> 3.1', '>= 3.1.12'
gem 'faker', '> 3.2'
gem "pg", "> 1.1"
gem "puma", "~> 5.0"
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
gem "rack-cors"
"@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "react": "^18.2.0", "react-router-dom": "^6.11.1", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4"
- Download
git clone [email protected]:lbarsis/rails_react_template.git
bundle install
npm install --prefix client