API & Backend
Rust CRUD API — Warp · MongoDB
The same JWT-secured Rust API, backed by MongoDB instead of Postgres.
The document-database sibling: Warp over the MongoDB driver, JWT auth with role checks, and the same users / articles / comments CRUD surface. Includes the project's docker-compose (API, MongoDB, mongo-express) and multi-stage Dockerfile. Catalogued as-provided and pinned to its original, older crate versions — see its README to build and run.
What's inside
- Full users + articles CRUD, with comments
- JWT auth with role-based route guards
- Official MongoDB driver, typed models
- argonautica password hashing
- docker-compose: API + MongoDB + mongo-express
- Multi-stage Dockerfile
Quickstart
$ curl -LO https://devai.io/downloads/rust-crud-nosql-api.zip$ unzip rust-crud-nosql-api.zip && cd rust-crud-nosql-api$ cat README.md # requirements + how to run
about this series
One of the devai.io advanced Rust boilerplates — a Warp + MongoDB starting point with auth already wired, catalogued as-is.
More in API & Backend
view allAPI & Backend
Rust CRUD API — Warp · Postgres
A JWT-secured REST API in Rust: Warp handlers, sqlx, Postgres, role-based routes.
RustWarpsqlxPostgreSQL+2
View template zip + preview
API & Backend
Rust CRUD API — Actix · MongoDB
Actix-web 4 + MongoDB with JWT from cookie or Bearer, and structured logging.
RustActix-webMongoDBJWT+2
View template zip + preview