Users register and create a wallet(one per user). Transactions can then be performed from one wallet to the other.
- Authorization
- Pagination
- Filters
- Throttling
pip install -r requirements.txt
- Add your django app Secret key, Database name, user and password to it as shown below
SECRET_KEY=<your_secret_key_without_quotes>
DB_NAME=<your_db_name_without quotes>
DB_USER=<your_db_user_without_quotes>
DB_PASSWORD=<your_db_password_without_quotes>
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
# Replace with your desired name in the .env file
'NAME': os.environ['DB_NAME'],
# Replace username with your user name in the .env file
'USER': os.environ['DB_USER'],
# Replace password with your password in the .env file
'PASSWORD': os.environ['DB_PASSWORD'],
# Replace 127.0.0.1 with the PostgreSQL host
'HOST': '127.0.0.1',
# Replace 5432 with the PostgreSQL configured port
# in case you aren't using the default port
'PORT': '5432',
}
}
python transaction_manager/manage.py runserver
Extensive documentation with examples here.