Raphael Araújo
Joined
Activity
I don't feel comfortable not compressing all my files into a single minified package. It's strange to expect all my JS files to be so explicit for anyone to read and copy. I prefer to continue using esbuild.
Hey Rails Community!
I want to share the gem that I believe will significantly streamline full-stack development workflows: https://github.com/raphox/next_rails_scaffold
What Does It Do? The gem extends Rails' standard scaffold generator by automatically creating a Next.js frontend alongside your Rails backend. With a single command, you'll get:
- Automated Next.js app generation
- Structured page routing
- Intelligent component creation for each resource
- Seamless integration between Rails and Next.js
Team Collaboration Advantages:
One of the key benefits of this approach is the clear separation of concerns between backend and frontend teams. By using a standalone frontend with HTML and JavaScript, we create a more flexible and inclusive development environment. Your Ruby developers can focus on robust backend logic, while frontend specialists can work with Next.js using their preferred JavaScript ecosystem tools. This separation eliminates the need for frontend developers to learn Ruby, and backend developers aren't required to be React experts. It promotes:
- Independent team workflows
- Easier skill-specific hiring
- More modular and maintainable codebases
- Reduced cross-team dependencies
Key Features:
- Reduces boilerplate code
- Follows best practices for frontend architecture
- Uses https://www.hygen.io/ for template generation
- Simplifies full-stack development using Rails as an API and Next.js as a frontend
Currently leveraging templates from https://github.com/raphox/next-rails-scaffold, the gem aims to make Rails + Next.js development more intuitive and efficient.
I'd love to hear your thoughts, feedback, and potential use cases. Are you working on full-stack Rails projects? How do you currently handle frontend scaffolding?
Contributions, suggestions, and pull requests are more than welcome! Let's make full-stack development smoother together.
Cheers,
Raphael Araujo
hi all! I aim to improve my english. i have been working with rails since 2009. would anyone been interested in learning to develop with rails in exchange for helping me with english?