Git Product home page Git Product logo

mockoon / playground Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 660 KB

Mockoon's playground is a ready-to-use mock API for all your prototyping needs: fake JSON data, JSON placeholders, realistic CRUD API mock, etc. It is also a good way to discover Mockoon's features.

Home Page: https://mockoon.com/playground/

License: Other

api api-mocking fake-data faker-js mock mock-api mock-data mock-server mocking mocking-utility

playground's Introduction




Mockoon's Playground

Mockoon's playground is a ready-to-use mock API for all your prototyping needs: fake JSON data, JSON placeholders, realistic CRUD API mock, etc. It is also a good way to discover Mockoon's features.

➡️ Playground API URL: https://playground.mockoon.com ➡️ Playground's documentation

The playground offers the following resources, populated with fake data (generated using Faker.js):

  • /contacts: a CRUD endpoint with fake contacts.
  • /movies: a CRUD endpoint with fake movies.
  • /photos: a CRUD endpoint with fake photos.
  • /posts: a CRUD endpoint with fake posts.
  • /todos: a CRUD endpoint with fake todos.
  • /users: a CRUD endpoint with fake users.

The following routes are available for each resource:

  • GET /resources: Returns the entire array.
  • GET /resources/:id: Returns an object by its id property.
  • POST /resources: Inserts a new object in the array (autogenerate the id (UUID) if not provided).
  • PUT /resources/:id: Performs a full object update by its id (replace).
  • PATCH /resources/:id: Performs a partial object update by its id (merge).
  • DELETE /resources/:id: Deletes an object by its id.

You can also use the sorting, searching and filtering query parameters on the main GET route, example: ?property_eq=test&page=2&limit=50. You will find more information about the CRUD routes behavior in our documentation.

💡 The following routes are disabled: DELETE /resources, PATCH /resources, PUT /resources. POST, DELETE, PATCH and PUT requests are persisted. GET requests are cached.

⚠️ The playground is a shared resource (please don't abuse it) and is not meant to be used in production. Data are frequently reset.

To go further, download Mockoon and discover all its features.

➡️ Download Mockoon

Support/feedback

You can discuss all things related to Mockoon, and ask for help, on the official community. It's also a good place to discuss bugs and feature requests before opening an issue on this repository. For more chat-like discussions, you can also join our Discord server.

Contributing

If you are interested in contributing to Mockoon, please take a look at the contributing guidelines.

Please also take a look at our Code of Conduct.

Roadmap

If you want to know what will be coming in the next release you can check the global Roadmap.

New releases will be announced on Mockoon's Twitter account @GetMockoon and through the newsletter to which you can subscribe here.

playground's People

Contributors

255kb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.