json-editor
express-json-validator-middleware
Our great sponsors
json-editor | express-json-validator-middleware | |
---|---|---|
7 | 1 | |
4,179 | 159 | |
1.9% | - | |
9.3 | 0.0 | |
about 6 hours ago | over 1 year ago | |
JavaScript | JavaScript | |
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.
json-editor
-
Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
I use JSON schema to generate JSON-editing forms via json-editor: https://github.com/json-editor/json-editor
Then I can use the same schema in the backend to validate the data, both sent in via the form and directly with the application/json content-type. It's a pretty smooth flow, and reduces a lot of redundancy.
-
FormKit — Vue 3 Forms, Supercharged
Some project followed that way like json-editor
express-json-validator-middleware
-
5 best practices for building a modern API with Express
The express-json-validator-middleware package brings support for JSON Schema into your application and enables you to validate requests to your API against any schemas that you define and configure it to use. The ‘Example Express app‘ in the package documentation gives a really good example of how you can use it for your API.
What are some alternatives?
node_pg_reference_app - Node.js reference CRUD application using node-postgres and PostgresSQL
formkit - Vue Forms ⚡️ Supercharged
jsonform - Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
express-gateway - A microservices API Gateway built on top of Express.js
celebrate - A joi validation middleware for Express.
cors - Node.js CORS middleware
connect-api-mocker - Connect middleware that creates mocks for REST APIs
adif-json-protobuf - Protocol buffer and JSON schema based on the amateur radio data interchange format (ADIF)
sematext-agent-express - Express.js Monitoring and Logging Agent by Sematext
Atom - :atom: The hackable text editor
laminar - OpenApi backed REST APIs. Automatic validation of request / response based on the api schema.