Blog using rails and next for promote rest-api-generator gem.
-
- Specs: rspec
- Factories: factory_bot
- For docs: rswag (
SWAGGER_DRY_RUN=0 rails rswag
)
rails g rest_api_generator:resource Post title:string author:string content:rich_text --spec=rswag
-
- Change api_only=false
- Install propshaft
-
- Serializer: AMS
- Text editor: Action Text with Trix
- Images: Action Storage
-
- Template:
npx create-next-app --example blog-starter blog-starter-app
- Link: https://next-blog-starter.vercel.app/
- Template: