Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hunghkit/react-rails-antd
- Owner: hunghkit
- Created: 2020-04-27T02:44:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T18:36:34.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T07:32:07.944Z (almost 2 years ago)
- Language: Ruby
- Size: 1.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
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)