Simple task management API built with Actix-web in Rust. Tasks are stored in memory and can be retrieved or created via HTTP requests.
To clone the repository, run the following command:
git clone <repository_url>
cd <repository_name>
Ensure you have Rust and Cargo installed. If not, you can install them from Rust's official website.
-
Create a virtual environment in the project directory:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the required Python dependencies:
pip install -r requirements.txt
-
Build and run the Rust application:
cargo run
-
Make sure the virtual environment is activated.
-
Run Python apps:
python scripts/manage_tasks.py python scripts/analyze_tasks.py
The server will be running at http://127.0.0.1:8080. You can interact with the API using tools like Postman or CURL, or by using the provided Python scripts.