Coder Social home page Coder Social logo

mikkeljuhl / rails-react-typescript-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from victor95pc/rails-react-typescript-example

0.0 0.0 0.0 48 KB

Basic example using Rails + Webpack + React + Typescript + Hot Reloading

Ruby 71.93% JavaScript 9.28% CoffeeScript 0.60% CSS 2.59% HTML 15.05% TypeScript 0.56%

rails-react-typescript-example's Introduction

IMPORTANT: This example doesn't load CSS and Images from webpack, so you need to put all on public, for now.

Getting started

Dependencies

To run this project you need to have:

  • Ruby 2.2.5

  • Rails 5.0

  • NodeJS 6.9.4

  • Yarn 0.21.3

  • Webpack 1.14.0

  • TypeScript 2.2.1

  • Typings 2.1.0

Setup the project

  • Clone the project

  • Install the gems

      $ bundle install
    
  • Install the front-end dependencies

      $ yarn
    

    Requires yarn, which requires Node.js.

      $ cd webpack && yarn
    
      $ typings install
    

If everything goes OK, you can now run the project!

Running the project

  • Run Foreman
$ foreman start

Open http://localhost:5000

rails-react-typescript-example's People

Contributors

victor95pc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.