mockpostie

Remember the time you spend waiting for backend APIs to finally test your frontend App. Well not anymore, MockPostie to your rescue. The Mockpostie is a tool for frontend development. It helps you to create mock API's for your projects and to use them instead of real API's. on our tool you can create mock api routes & paste sample responses. We provide you with a route which you can use in your app and fetch that sample respone to use in your code.

What MockPostie Offer?

Create Your Mock API

Simply enter your required endpoint and the response you want it to return and hit submit. Voila!! your endpoint is ready.

create Endpoint
Monitor Your Endpoints

You can view/edit/delete your endpoints

view EndPoint

How to use MockPostie?

  • Create your endPoint. Suppose You created an endpoint /book.
  • Copy the url of your endpoint from dashboard. The url will be https://mockpostie.herokuapp.com/api/:loggedInUserId/book/
  • Keep a BACKEND_BASE_URL variable in your .env file where BACKEND_BASE_URL=https://mockpostie.herokuapp.com/api/:loggedInUserId
  • Now when you will hit /book from your app. Your app will hit the mockpostie API and will get the response.
  • When your actual backend API's are ready, just replace the BACKEND_BASE_URL in your .env file with your original backend server base url.