This project is an Actix web server implemented in Rust. It utilizes Actix-Web for building asynchronous web applications, serde for serialization and deserialization, dotenv for environment variable management, futures for asynchronous programming, and mongodb for database connectivity.
- Rust 1.56+
- Cargo (Rust's package manager)
- Actix-Web 4.0
- serde 1.0.136
- dotenv 0.15.0
- futures 0.3
- mongodb 2.2.0
-
Clone the repository:
git clone https://github.com/abhms/actix-api.git cd actix-server
-
Install dependencies using Cargo:
cargo build
cargo run
and for Auto Reload run : cargo watch -x run
-
Replace .env with below variable
MONGODB_URI=