Skip to content

gayret/bemirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

be.mirror

Fake mirror your backend, fast.

be.mirror is an ultra-lightweight, zero-backend, local Node.js API mock server built for frontend teams. It allows you to visualize, create, and interact with complex mock endpoints completely locally without the heavy setup of databases or third-party cloud tools.

✨ Features

  • Zero Backend Database: Everything runs in localStorage or in a flat JSON file.
  • Instant Prod URL Mapping: Effortlessly configure endpoints to a production format.
  • Live Network Delay Testing: Set specific request delays (e.g. 500ms) to test your frontend loaders safely.
  • Strict Parameter & Body Validation: Expect precise queries or payloads; returns HTTP 400 automatically if not met.
  • Export / Import Seamlessly: Share your endpoint configurations with other developers via JSON without hassle. Merge or overwrite local instances.
  • Code Generator: Instantly copy valid cURL or JS fetch() requests directly from the UI.
  • Responsive UI: Works nicely on mobile devices and tablets using an intuitive postman-style flow.

🛠 Usage

  • Go to https://bemirror.vercel.app
  • Focus on the Sidebar: Create a Project first, then an Entity, and add your mapped Endpoints.
  • Edit your Endpoint: In the main view, define routing paths, params, and payload rules.
  • Mock URL Test: Consume APIs by pointing your React/Vue/Svelte frontend directly to the provided Mock URL.
  • Proxy Test: Use the built in proxy to make real network requests to external URLs avoiding standard CORS errors in the browser.

🤝 Contributing

Contributions are totally welcome! This is an open-source tool aiming at significantly reducing friction during frontend development phases.

  1. Fork the repo and create your feature branch (git checkout -b feature/amazing-feature)
  2. Commit your changes (git commit -m 'Added amazing feature')
  3. Push to the branch (git push origin feature/amazing-feature)
  4. Open a pull request.

📄 License

This project is licensed under the MIT License.

About

Fake mirror your backend, fast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors