ToDo app can be used to create user, login and CRUD tasks.
git clone https://github.com/MbxrAteeq/ToDo-App.git
python -m venv env
source env/bin/activate
pip install -r requirements.txt
touch.env
and set these variables
SQLALCHEMY_DATABASE_URI=postgresql://user:password@localhost:port/db_name
JWT_SECRET_KEY=somesecretkey
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRES=8
DECRYPTION_KEY=secretdecryptionkey
COMMON_ENCRYPTION_KEY=asdjk@15r32r1234asdsaeqwe314SEFT
COMMON_16_BYTE_IV_FOR_AES=IVIVIVIVIVIVIVIV
alembic revision --autogenerate -m "name"
alembic upgrade head
alembic downgrade -1
alembic history
python app.py
Request this endpoint /decrypt_data
with json payload containing decryption_key
and encrypted_data
.
https://drive.google.com/file/d/15b-POj6TNm6sg-fsll4mS-LCEqI364Bx/view?usp=sharing