1
0
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:
Milan Zivkovic
2020-04-23 10:03:04 +02:00
committed by GitHub
parent 9155edfe8d
commit 8dab533b40
9 changed files with 321 additions and 0 deletions

4
sqlx_todo/.env.example Normal file
View 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