Skip to content

basiliqio/ciboulette2pg

Repository files navigation

Ciboulette2Pg

Ciboulette requests to Postgres queries and back

See the documentation

Testing

To test this crate, you need to start a Postgres database and export the DATABASE_URL environment variable.

You can use the provided docker-compose plan

# To start the test database
docker-compose -f docker-compose.testing.yml up -d

# Don't forget to set the environment variable
export DATABASE_URL="postgres://postgres:postgres@localhost/postgres"

# Run the tests
cargo test

# To stop the test database
docker-compose -f docker-compose.testing.yml down -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published