Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 693 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 693 Bytes

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