| Crates.io | redact-store |
| lib.rs | redact-store |
| version | 1.2.16 |
| created_at | 2021-07-13 15:08:42.239198+00 |
| updated_at | 2022-07-27 13:56:59.51045+00 |
| description | Provides a common interface on top of storage backings |
| homepage | |
| repository | https://github.com/pauwels-labs/redact-store.git |
| max_upload_size | |
| id | 422297 |
| size | 145,196 |
redact-store is a storage server
redact-store currently only supports being run with a MongoDB back-end, although more will be added in the future. There are a couple options for getting a free mongo database:
The storage server simply takes in a connection string and database name and is agnostic to where the database is hosted.
git clone https://github.com/pauwels-labs/redact-cryptoecho "export REDACT_DB_URL=\"<mongo connection string>\"" >> config/config.envecho "export REDACT_DB_NAME=\"<db name>\"" >> config/config.envsource config/config.envcargo rGET /<path><path> is a jsonpath-style string prepended and appended by a period, e.g. .profile.firstName.POST /Entry struct serialized as JSONTo run unit tests:
cargo tTo run unit tests+code coverage output (does not work on macos or windows):
cargo install tarpaulincargo tarpaulin -o htmlDocs are available at docs.redact.ws.
Join us in our Keybase channel! You can download the keybase client here.
Once there, click on Teams, select Join a team, and our team name is pauwelslabs.
Once you're in, Redact discussion happens in the #redact channel.
Discussions in the Keybase team should be respectful, focused on Redact, and free of profanity.