mirror of
https://github.com/actix/examples
synced 2025-06-29 02:10:36 +02:00
Simple Todo API using actix-web and sqlx with postgresql database (#303)
* Simple Todo application using Actix-web with SQLx and PostgreSQL * fix issue with not matching project name * remove comment * - downgrade on actix-web 2.0.0 - fixed typo - renamed .env-example to .env.example - removed comments
This commit is contained in:
4
sqlx_todo/.env.example
Normal file
4
sqlx_todo/.env.example
Normal file
@ -0,0 +1,4 @@
|
||||
HOST=127.0.0.1
|
||||
PORT=5000
|
||||
DATABASE_URL="postgres://user:pass@192.168.33.11/actix_sqlx_todo"
|
||||
RUST_LOG=sqlx_todo=info,actix=info
|
Reference in New Issue
Block a user