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: 1. Get a 100% free, fully-managed database at mongodb.com (easier, available from any device) 2. Host it locally by installing and running mongo (harder, only available locally)
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-crypto
echo "export REDACT_DB_URL=\"<mongo connection string>\"" >> config/config.env
echo "export REDACT_DB_NAME=\"<db name>\"" >> config/config.env
source config/config.env
cargo r
GET /<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:
1. cargo t
To run unit tests+code coverage output (does not work on macos or windows):
1. cargo install tarpaulin
2. cargo tarpaulin -o html
Docs 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.