https://github.com/jetthoughts/react-typescript-rails-simple-integration
Rails + Typescript + React.js
https://github.com/jetthoughts/react-typescript-rails-simple-integration
Last synced: about 1 year ago
JSON representation
Rails + Typescript + React.js
- Host: GitHub
- URL: https://github.com/jetthoughts/react-typescript-rails-simple-integration
- Owner: jetthoughts
- Created: 2019-04-16T15:33:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-19T21:54:14.000Z (over 5 years ago)
- Last Synced: 2025-03-23T04:02:02.057Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 137 KB
- Stars: 6
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails + Typescript + React.js
Example of project to show how to integrate React and Typescript into Rails application.
It shows how you can use both Rails views and React components.
# Setup
Install Rails dependencies:
```
bundle install
```
Install npm packages:
```
yarn install
```
Run Rails server:
```
bin/rails s
```
Run webpack dev server:
```
bin/webpack-dev-server
```
Open browser on `http://localhost:3175` address.