This project implements a service for securely storing and sharing one-time secrets. Secrets can be encrypted using a password provided by the user and then retrieved using a unique key. Once a secret is requested and decrypted, it is automatically deleted from the database, ensuring one-time access.
git clone https://github.com/RomanPecheritsa/OneTimeSecretAPI.git
cd OneTimeSecretAPIOpen .env and replace the values of the variables with your own
cp .env.example .envExecute the following command to build and starting the Docker images
make appRun the tests and run the tests with coverage
make tests
make tests-covExecute the following command to stop and down the Docker images
make app-downThe full API documentation is available at: http://127.0.0.1:8000/docs/