sqlx/examples/postgres/axum-social-with-tests
Joshua Potts ba1b2f9b82 refactor: Resolve cargo check warnings in postgres examples
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-07-10 22:15:31 -07:00
..
2023-07-31 13:27:04 -07:00
2023-07-03 14:37:37 -07:00

This example demonstrates how to write integration tests for an API build with Axum and SQLx using #[sqlx::test].

See also: https://github.com/tokio-rs/axum/blob/main/examples/testing

Warning

For the sake of brevity, this project omits numerous critical security precautions. You can use it as a starting point, but deploy to production at your own risk!