rswag
craft.js
Our great sponsors
rswag | craft.js | |
---|---|---|
14 | 18 | |
1,884 | 7,070 | |
1.8% | - | |
7.8 | 7.4 | |
21 days ago | about 1 month ago | |
Ruby | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rswag
- A Deep Dive into RSpec Tests in Ruby on Rails
-
Generating an OpenAPI/Swagger spec from a Ruby on Rails API
We will be creating a "Coffee Ordering API" using Ruby on Rails, and using a tool called rswag to create tests that verify the behaviour of our API and generate an OpenAPI reference.
-
Build JSON schemas fluently!
Made a library a while back that helped me write JSON schemas for rswag. Hope others find it useful!
-
Documenting Forem's v1 API
Forem, which is a Ruby on Rails app, integrates Swagger via a gem - the rswag gem. The rswag Ruby gem allows us to create a Swagger-based DSL for describing and testing our API operations. It also extends rspec-rails "request specs”, hence, allowing our documentation to be a part of our test suite which allows us to make requests with test parameters and seed data that invoke different response codes. As a result, we are able to test what the requests and responses look like, however we do not test the business logic that drives the endpoint - that is tested elsewhere in the code.
-
How do you document your code?
Using something like rswag will give you some ability, in the specs, to also describe the endpoints and auto-generate some documentation.
-
Is there a way to easily autogenerate API documentation for a Ruby on Rails API?
Hello! I would like to autogenerate API documentation for my Ruby on Rails Application. However, all of the solutions I've found such as https://github.com/rswag/rswag and https://github.com/richhollis/swagger-docs involve writing tests or manually describing the endpoint responses. I am hoping to find something similar to Swashbuckle for ASP.Net Core but for Ruby on Rails. Below is an example of using Swashbuckle's ASP.NET Core to autogenerate Swagger API documentation. The response type is inferred form the return type of the action.
-
I'm a front-end dev currently being asked to work on a Rails API backend. What are some good resources to get comfortable with the language and the framework?
https://github.com/rswag/rswag - helps generate Swagger documentation (you can upload it to an external service, like readme.com or serve from your Rails app)
-
OpenAPI Specification: The Complete Guide
rswag expands the "request specifications" of rspec-rails with a Swagger-based DSL for defining and testing API activities. - Github
-
Looking for a full Rswag example project.
Hello guys, I'm working on a rails (4.x) project, trying to implement a way to create docs for OpenApi 3 and Swagger (I started to learn rails in october last year), this project has like 6 years old, a lot of endpoints and very poor documentation, my first option is Rswag, does anyone knows a good example project for these gem?
-
Help with Rswag + openapi-generator-cli
I'm using the Rswag gem to document my API. Right now I have a WIP here: https://cabal-fintech.herokuapp.com/api-docs/v1/swagger.json but whenever I try to validate it on the swagger validator I get an error not even understandable to me, as that route doesn't need [params].item
craft.js
- Craft.js – A React Framework for building extensible drag and drop page editors
-
How to build a webpage builder like Wix, Squarespace, Shopify, etc? I want to build one with React
I've been building one with https://craft.js.org/ , tailwind, nextjs, and vercel, a few months into it I've got a decent component library, custom domains, subdomains, static pages, accounts, multiple pages, cdn and a bit more. The basics are easy to get going. Making it easy to understand/use, responsive, and all that, is a bit more complex.
-
Reka.js - Build your own no-code editor ✨
As for the second part of your question, regarding UI. Reka is purely the state management system, so it is designed to help with storing/editing user content and computing an output for that content so you can render that on the browser; it’s not really responsible for the UI part. For building UI’s for your page editor - there’s Craft.js which is another framework that I built for creating page editors. Craft comes with an event system that lets you know which elements is being selected/hovered/dragged and a drag and drop system that lets you move elements around on the screen along with other things that helps you build your own page editor UI. Craft is actually the parent project of Reka. Reka was built to replace Craft’s internal state management system so that you could build entire UI components in Craft in the future. If you’re interested, you could check out the motivation and relationship between Craft and Reka here. As for the demo shown in the video, all the UI interactions (including some that you have mentioned like showing the borders of selected elements) are fairly straightforward, and they’re simply just interacting/mutating the AST state of Reka. Feel free to take a look at the code for the demo.
-
Where to start building a low-code tool
https://craft.js.org/ - This is probably more like what you're looking for. It's in heavy development still and does lack some features but you can use it with reactive components.
-
WYSIWYG/Drag-And-Drop alternative to GrapeJS in react
We’ve been looking into craftjs for this use case since it seems to be more targeted at letting you build on top of it. https://craft.js.org/
-
How to build your own Figma like view, with drag and drop
Does anyone have some recommendations? https://craft.js.org/ something like this, but not with HTML.
- I'm making a No-code website builder, using React. Need Advice on architecture and implementation of my idea.
-
How would you create multiple custom templates using HTML/CSS like Canva?
i think that's how all no-code web editors like carrd, webflow, squarespace work i think (see https://github.com/prevwong/craft.js & https://github.com/artf/grapesjs)
-
[AskJS] Resources for Building a No-Code Editor
If you're just talking about a WYSIWYG website page editor, check out https://github.com/prevwong/craft.js
- How would I approach building a landing-page builder?
What are some alternatives?
Apipie - Ruby on Rails API documentation tool
openchakra - ⚡️ Full-featured visual editor and code generator for React using Chakra UI
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀
blocks - A JSX-based page builder for creating beautiful websites without writing code
rspec-openapi - Generate OpenAPI schema from RSpec request specs
vuera - :eyes: Vue in React, React in Vue. Seamless integration of the two. :dancers:
appsmith - Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
GrapesJS - Free and Open source Web Builder Framework. Next generation tool for building templates without coding
RDoc - RDoc produces HTML and online documentation for Ruby projects.
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
Blueprinter - Simple, Fast, and Declarative Serialization Library for Ruby
builder - Drag and drop headless CMS for React, Vue, Svelte, Qwik, and more