├── .env ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Makefile ├── Note App.postman_collection.json ├── README.md ├── docker-compose.yml ├── migrations ├── 20230123154041_init.down.sql └── 20230123154041_init.up.sql └── src ├── handler.rs ├── main.rs ├── model.rs └── schema.rs /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/Makefile -------------------------------------------------------------------------------- /Note App.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/Note App.postman_collection.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /migrations/20230123154041_init.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | 3 | DROP TABLE IF EXISTS notes; -------------------------------------------------------------------------------- /migrations/20230123154041_init.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/migrations/20230123154041_init.up.sql -------------------------------------------------------------------------------- /src/handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/src/handler.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/src/model.rs -------------------------------------------------------------------------------- /src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wpcodevo/rust-postgres-crud-sqlx/HEAD/src/schema.rs --------------------------------------------------------------------------------