Skip to content
/ dyan Public

πŸ› οΈ Visual API builder that lets you create, test, and self-host dynamic REST APIs β€” without writing boilerplate code.

License

Notifications You must be signed in to change notification settings

Dyan-Dev/dyan

Repository files navigation

Dyan Logo

Dyan

Visually build, test, and deploy REST APIs without backend boilerplate
🌐 dyan.live


πŸ”₯ Key Features

  • 🧱 Visual REST API builder
  • βš™οΈ Supports GET, POST, PUT, DELETE
  • ✍️ Write endpoint logic in JavaScript (Python support coming soon)
  • ⚑ Instant test mode with live input/output
  • πŸ§ͺ Validate logic before execution
  • πŸ’» Self-hosted & open-source

πŸŽ₯ Demo Video

Watch the demo

Watch how Dyan lets you build, test, and run APIs in seconds with no backend boilerplate.


πŸš€ Getting Started

Choose your preferred setup method:

Option 1: 🐳 Docker (Recommended)

The fastest way to get Dyan running with production-ready containers.

Prerequisites

1. Clone the repo

git clone https://github.com/dyan-dev/dyan.git
cd dyan

2. Set up environment variables

Create a .env file in the project root:

# .env
JWT_SECRET=your_super_secret_jwt_key
VITE_API_URL=http://backend:3000

3. Build and run

docker compose up --build

That's it! πŸš€ Visit http://localhost:5173 to start building your APIs.

Managing Docker setup

# Stop services
docker compose down

# Remove all data (including database)
docker compose down -v

Option 2: πŸ› οΈ Local Development

For contributors or those who want to modify the source code.

1. Clone the repo

git clone https://github.com/dyan-dev/dyan.git
cd dyan

2. Install dependencies

Make sure you have pnpm installed.

pnpm install

3. Set up your environment

cp .env.example .env

To skip email sending in development:

EMAIL_MOCK=true

Note: The magic link will be printed on console of backend.

4. Run backend and frontend

In the root folder, run:

# Start the frontend (localhost:5173)
pnpm --filter frontend dev

# Start the backend (localhost:3000)
pnpm --filter backend exec prisma generate
pnpm --filter backend exec prisma migrate deploy
pnpm --filter backend dev

Visit http://localhost:5173 to start building your APIs.


πŸ“¦ Architecture

  • Frontend: React + Tailwind CSS
  • Backend: NestJS (TypeScript)
  • Sandbox Runtime: Secure execution via vm2
  • Database: Local SQLite (PostgreSQL/MySQL support planned)

πŸ’‘ Example Use Cases

  • Build and test REST APIs visually β€” no backend required
  • Quickly prototype business logic for internal tools
  • Share and collaborate on API logic
  • Host a lightweight backend API layer in seconds

πŸ§ͺ Project Status

This is an early-stage project in active development.

  • βœ… Supports: GET, POST, PUT, DELETE
  • ✨ JavaScript logic + runtime
  • πŸ§ͺ Input/output testing panel
  • ⏳ Python support coming soon
  • πŸ’¬ Community contributions welcome!

🀝 Contributing

We welcome issues, feature ideas, and PRs from the community.

Start with good first issue tags or join our Discord to chat and collaborate.


πŸ“„ License

MIT Β© Dyan Dev

About

πŸ› οΈ Visual API builder that lets you create, test, and self-host dynamic REST APIs β€” without writing boilerplate code.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •