hunghkit / react-rails-antd

Simple template intergate Reactjs, Rails and Ant design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hung Blog

The repo is a template project for Rails, Reactjs and Ant design

Development

  • Start server: Rails s
  • Run test: rspec
  • Create and migrate database: rake db:create db:migrate

Generate

  • Generate react component: rails g react:component ComponentName props:proptype
  • Basic rails generate like:
  • Generate controller: rails g controller ControllerName
  • Generate modek: rails g model ModelName field:type

Resource

About

Simple template intergate Reactjs, Rails and Ant design


Languages

Language:Ruby 75.5%Language:JavaScript 11.8%Language:HTML 10.8%Language:CSS 1.8%