Dypi is a powerful CLI tool for effortlessly creating Rust-based APIs, designed to streamline your API development workflow.
- Interactive CLI Scaffolding: Quickly bootstrap your API projects with guided setup
- Flexible API Types:
- REST API support
- Powered by the Tide web framework
- Automatic Project Generation:
- Generates complete project structure
- Pre-configured boilerplate code
- Reduces setup time and complexity
Install Dypi globally using Cargo:
cargo install dypi
Creating a new API project is as simple as running:
dypi <project_name>
- Run the CLI
- Select your preferred API type
- Follow interactive prompts
- Navigate to your new project directory
- Start developing!
# Create a new API project
dypi my-api
# Navigate to project directory
cd my-api
# Run the API
cargo run
Your API will be available at http://127.0.0.1:8080
After generating a project, you'll have a typical Rust project structure:
my-api/
├── Cargo.toml
├── src/
│ ├── main.rs
└
- REST API
- GraphQL API
Contributions are welcome! Please feel free to submit a Pull Request.
Published by Yash Yadav, feel free to connect at "[email protected]"