https://github.com/hunghkit/react-rails-antd
Simple template intergate Reactjs, Rails and Ant design
https://github.com/hunghkit/react-rails-antd
Last synced: about 1 month 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T18:36:34.000Z (over 2 years ago)
- Last Synced: 2025-02-01T12:46:13.600Z (3 months 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)