appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.63k stars 3.74k forks source link

[Feature]: Allow creating mock API endpoints #10609

Open sumitsum opened 2 years ago

sumitsum commented 2 years ago

Is there an existing issue for this?

Summary

Provide a feature that allows creating mock API endpoins.

Why should this be worked on?

API is one of the most used datasources in Appsmith. Users typically want to bind their data to widgets or write JS code around it. In case the actual API endpoint is not available or unusable or under development then users can create a mock API endpoint to return a sample data and build or test their applications around it.

Rishabhkaul commented 1 year ago

Is this also a requirement for templates to work well @GreenFlux ?

GreenFlux commented 1 year ago

@Rishabhkaul yes this would allow us to produce a wider range of templates, and enable us to mock popular SaaS APIs instead of having to maintain an account and API keys for each SaaS.

I brought up using Mockoon before but @sharat87 looked into it and said there are some challenges with hosting it and exposing the API publicly.