Quickly create Mock API responses and deploy them to Vercel.
- Use your Mock API from anywhere because it is hosted online
- Uses serverless technologies so it can be deployed to Vercel for free
- Easy to navigate UI
- Built in GitHub integration
- Extendable functionality through processors
- Fork this repository to your own account
- Deploy the forked project to Vercel
- Navigate to the deployment URL in your browser
- Follow the onscreen prompt to integrate with you GitHub account
- Done!
The configuration contains some example endpoints, you can view these by navigating to the dashboard and opening the server configuration or by referencing below.
- api/test:
- Methods
- GET
- POST
- PUT
- DELETE
- PATCH
- Response
{ "message": "It works!" }
- Demo
- Methods
- api/example/processor
- GET
- Uses the
example_processor.mjs
processor to produce a response - Demo
- api/example/processor2
- GET
- Requires a 'name' parameter to be sent
- Uses the
example2.mjs
processor to produce a response - Demo
- api/example/redirect
- GET
- Redirects you to a random image using Lorem Picsum
- Demo
Custom Processors: See the custom processors guide README.