Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Develop modern web applications and components without the boilerplate fragmentation.
Project status is currently work in progress and proof of concept
We have started to implement the first few products based on Roc. These products are not yet in production. You have been warned!
Roc provides a complete ecosystem for developing modern applications.
Sweeps common complexities into easy-to-use packages with extendable APIs.
Composes some great open source tools and make them easy to use with a streamlined command line interface and configuration/extension system.
Direct your focus to writing great software and away from juggling boilerplate and dependencies. Roc is built on top of the Node.js ecosystem.
Common tasks and boilerplate code does not exist in a Roc application but in extensions installed with npm
making it easier to maintain and update. Roc extensions are opinionated by design.
As a user of Roc to create components or applications you will mainly direct your attention to your application code, configuration limited to your own project and using the command line interface. You do not need a deep understanding of how Roc makes your life simpler. We do however encourage you to take a deep-dive and contribute.
npm install -g roc
This provides you with a really simple command line interface. Only Linux and OS X currently supported.
Create application directory. Name it whatever you like. We used react-app.
mkdir react-app && cd react-app
Init application starting point
roc init web-react
Build and start the application in development mode
roc dev
roc init web-react
uses the starting point roc-base-web-react from Github
Suitable for more ambitious web-applications that prefer React views, universal rendering and established library Redux for unidirectional dataflow.
Create application directory. Name it whatever you like. We used basic.
mkdir basic && cd basic
Init application starting point
roc init web
Build and start the application in development mode
roc dev
roc init web
uses the starting point roc-base-web from Github
Suitable for serving static files and rendering html
with basic javascript
on the client.
roc help
will print available actions.
roc dev
starts the application locally in development mode with hot code reloading and Browersync.
roc dev --help
will list all options available to your current extension.
Be sure to read through this as minor adjustments to your roc.config.js
is a very common use-case. Also check out defaults for web and web-react
View your application at http://localhost:3002 using default configuration.
Roc was born out of the need to create modern applications following the correct conventions and using best practices consistently.
We quickly realized that keeping boilerplate updated within each project over time was unmanageable. It seems natural to have this repeated complexity managed by separated semantically versioned packages.
Project | Github page |
---|---|
CLI (this project) | https://github.com/vgno/roc |
Roc Config | https://github.com/vgno/roc-config |
Roc Web | https://github.com/vgno/roc-web |
Roc Web React | https://github.com/vgno/roc-web-react |
See milestones/issues.
We are still working on getting the balance between flexibility and easy-of-use. Input here is valuable to us. Please get in touch and sync with us before committing your time to large PRs at this stage of the project.
Thanks to Jongleberry for letting us use the roc
package name on npm.
FAQs
Build modern web applications easily
The npm package roc receives a total of 47 weekly downloads. As such, roc popularity was classified as not popular.
We found that roc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.