Inspiration

I needed a simple REST API mock for a given JSON-Schema File. My goal was to have a dockerized App at the end.

What it does

The JSON Schema API Generator is powerful Next.js application that automatically generates REST API endpoints from your JSON data and JSON Schema files. Upload your files, validate them with enhanced format checking, and instantly get production-ready API endpoints with interactive Swagger documentation.

How i built it

I used bolt.new and ChatGPT and did not write a single line of code by myself.

Challenges we ran into

App ran smoothly on stackblitz and bolt.new but threw a few errors when running locally. ChatGPT helped me to fix it, step by step.

Accomplishments that i'm proud of

It worked, finally!

What we learned

I saw how powerful AI is and what's possible for a newbe like me :-)

What's next for Dynamic Mock for REST API

Support for POST/PUT/DELETE operations - done
Real-time API monitoring - done
Database integration options
Custom validation rules
API rate limiting
Authentication/Authorization
Export to Postman collections
GraphQL endpoint generation

Built With

Share this project:

Updates

posted an update

I added some new features to the "Dynamic Mock App": -User can select which endpoints to generate -Added a monitoring API for all REST request -Added improved navigation -Added Reset Button which stops all endpoints and resets reporting data

Log in or sign up for Devpost to join the conversation.