celebrate
express-json-validator-middleware
Our great sponsors
celebrate | express-json-validator-middleware | |
---|---|---|
1 | 1 | |
1,321 | 158 | |
- | - | |
5.5 | 3.5 | |
6 months ago | about 2 months 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.
celebrate
-
API Routes Request Body Validation
Is there a way to validation the request body of API routes in nextjs? In express i used celebrate.
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?
express-fileupload - Simple express file upload middleware that wraps around busboy
node_pg_reference_app - Node.js reference CRUD application using node-postgres and PostgresSQL
express-gateway - A microservices API Gateway built on top of Express.js
jsonform - Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
mongo-express - Web-based MongoDB admin interface, written with Node.js and express
eazy-forms-backend - No need to maintain a server for your forms now, just use our endpoint in your form action and get all your responses in your dashboard
cors - Node.js CORS middleware
connect-api-mocker - Connect middleware that creates mocks for REST APIs
sematext-agent-express - Express.js Monitoring and Logging Agent by Sematext
adif-json-protobuf - Protocol buffer and JSON schema based on the amateur radio data interchange format (ADIF)