Easily build and deploy applications with this Actix-web custom template.
- Install
cargo-watch
To enable live-reloading during development, install cargo-watch
using the following command:
cargo install cargo-watch --locked
To start developing, use the following steps:
- Run the development server
Use cargo-watch
to start the development server with live-reloading:
cargo watch -x run
This will monitor file changes and automatically restart the application.
- Start services using Docker Compose
Run the following command to start the database and the Actix-web application:
docker compose up actix-db actix-app
Before starting, ensure you have the following installed on your system:
- Actix-Web: https://actix.rs
- Rust: https://www.rust-lang.org
- Docker: https://docker.com