ciboulette2pg

Crates.iociboulette2pg
lib.rsciboulette2pg
version0.1.3
sourcesrc
created_at2021-05-02 20:57:56.4502
updated_at2021-05-13 16:47:15.139131
descriptionLibrary to execute Ciboulette query to Postgres and build responses back
homepage
repositoryhttps://github.com/basiliqio/ciboulette2pg
max_upload_size
id392319
size514,104
Francis Le Roy (GrandChaman)

documentation

README

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
Commit count: 149

cargo fmt