Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hunghkit/react-rails-antd

Simple template intergate Reactjs, Rails and Ant design
https://github.com/hunghkit/react-rails-antd

Last synced: 18 days ago
JSON representation

Simple template intergate Reactjs, Rails and Ant design

Awesome Lists containing this project

README

        

# 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
- [React Rails](https://github.com/reactjs/react-rails)
- [RSpec](https://github.com/rspec/rspec-rails)
- [Factory Bot Rails](https://github.com/thoughtbot/factory_bot_rails)
- [Shoulda Matchers](https://github.com/thoughtbot/shoulda-matchers)