https://github.com/lakshmaji/rails-react
Ruby on Rails 7 and React 18
https://github.com/lakshmaji/rails-react
boilerplate esbuild inertia rails react ruby-on-rails ssr starter typescript
Last synced: 5 months ago
JSON representation
Ruby on Rails 7 and React 18
- Host: GitHub
- URL: https://github.com/lakshmaji/rails-react
- Owner: lakshmaji
- Created: 2022-10-03T17:54:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T11:55:41.000Z (almost 3 years ago)
- Last Synced: 2025-03-31T12:04:50.865Z (6 months ago)
- Topics: boilerplate, esbuild, inertia, rails, react, ruby-on-rails, ssr, starter, typescript
- Language: Ruby
- Homepage: https://lakshmaji.medium.com/rails-7-reactjs-setup-monolith-b9baa0f84271
- Size: 53.7 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails and React boilerplate 🎉
This is a starter kit template for rails and react monolith application. You can find instruction [here](https://lakshmaji.medium.com/rails-7-reactjs-setup-monolith-b9baa0f84271) if you want to setup your own.
## What's inside
This a starter kit template to get started with rails and react. This will renders react component in client side. i.e, browser.
1. Rails 7
2. React 18
3. Inertia 0.11.1## Setup Instructions
1. Clone repository
2. Install ruby dependencies```bash
bundle install
```3. Install npm dependencies
```bash
yarn install
```### Development
1. Launch rails (puma) server
```bash
bin/rails server
```2. Serve react components
```bash
bin/vite dev
```