DEV Community

nphamvn
nphamvn

Posted on

I built a mock API + frontend deployment platform to unblock frontend development

Hey folks,

While working on a frontend app, I ran into a common issue: the backend wasn’t ready yet. I needed a way to simulate APIs so I could keep building without being blocked.

That led me to build MycroCloud — a lightweight mock API platform with GitHub-based frontend deployment (something like a simplified AWS API Gateway + Vercel).

🧩 Key features

  • Supports three types of API responses:

Static: Define static JSON/text responses. Supports Handlebars for dynamic templating based on request parameters.

StaticFile: Serve uploaded files (e.g., JSON, images).

Function: Run custom JavaScript serverless functions (like AWS Lambda-lite).

Other features:

  • Multiple storage options for data persistence: File, Object, Text, Variable

  • Request validation to enforce expected input formats

  • Authentication & Authorization via OpenID Connect

  • Log viewing & export for debugging and monitoring

  • GitHub integration for auto-deploying frontend apps on each push

🔗 Try it out
🌐 Service: https://mycrocloud.info/

🧑‍💻 Source code: https://github.com/mycrocloud/mycrocloud

🖼️ Architecture diagram

Architecture

Top comments (0)