Octopux
Lightweight GraphQL/JSON CRUD operations for Actix Web (v4).
Features
- 5 REST routes per model: find, list, create, update, delete
- sqlx persistence (SQLite, PostgreSQL, MySQL), queries written for you
- OpenAPI documentation with apistos and Swagger UI
- GraphQL with async-graphql and GraphiQL
- Has-many and many-to-many relations
- A CLI generating models, relations and SQL migrations, even from an existing database
In 30 seconds
cargo install octopux-cli
cargo init my-api && cd my-api
octopux --bootstrap
octopux generate-model --name Project --fields --sqlx --migration --timestamps --openapi --sqlite
cargo run
Continue with the installation and the quick start.