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

https://github.com/seanbehan/sinatra_react_starter


https://github.com/seanbehan/sinatra_react_starter

javascript react ruby sinatra starter webpack

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Installation

A minimal React setup with Sinatra and Webpack.

```
git clone git@github.com:seanbehan/sinatra_react_starter.git
cd sinatra_react_starter
bundle install
npm install
```

Transpile with Webpack and start the Sinatra application.

```
webpack --watch
rackup config.ru
```

Visit http://localhost:9292

# Extra

These articles helped a lot

- https://www.twilio.com/blog/2015/08/setting-up-react-for-es6-with-webpack-and-babel-2.html
- https://medium.com/@dabit3/beginner-s-guide-to-webpack-b1f1a3638460