https://github.com/switchdreams/blog-rails-next
Blog using rails and next for promote rest-api-generator gem.
https://github.com/switchdreams/blog-rails-next
Last synced: about 2 months ago
JSON representation
Blog using rails and next for promote rest-api-generator gem.
- Host: GitHub
- URL: https://github.com/switchdreams/blog-rails-next
- Owner: SwitchDreams
- Created: 2023-01-06T16:59:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T17:00:29.000Z (over 2 years ago)
- Last Synced: 2025-02-01T12:46:16.350Z (4 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blog-rails-next
Blog using rails and next for promote rest-api-generator gem.## Back-end
## Rails
- ### rest-api-generator (Build api faster)
- Specs: [rspec](https://github.com/rspec/rspec-rails)
- Factories: [factory_bot](https://github.com/thoughtbot/factory_bot)
- For docs: [rswag](https://github.com/rswag/rswag) (`SWAGGER_DRY_RUN=0 rails rswag`)
`rails g rest_api_generator:resource Post title:string author:string content:rich_text --spec=rswag`
- ### Avo (Admin)
- Change api_only=false
- Install propshaft- ### Others
- Serializer: AMS
- Text editor: Action Text with Trix
- Images: Action Storage## Front-end
- ### Next.js
- Template: `npx create-next-app --example blog-starter blog-starter-app`
- Link: https://next-blog-starter.vercel.app/