Example Todo application using Actix-web and SQLx with posgresql
- Rust
- PostgreSQL
All instructions assume you have changed into this folder:
cd examples/sqlx_todo- Create new database using
schema.sql - Copy
.env-exampleinto.envand adjust DATABASE_URL to match your PostgreSQL address, username and password
To run the application execute:
cargo runBy default application will be available on http://localhost:5000. If you wish to change address or port you can do it inside .env file
