An open API service indexing awesome lists of open source software.

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

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.