├── .gitignore ├── README.md ├── app.py ├── database ├── connection_string.py ├── csv_migration.py ├── database_queries.py └── dummy-data.csv ├── models ├── __init__.py └── user_models.py ├── requirements.txt ├── routers ├── __init__.py ├── checkReferralCode.py ├── getCode.py ├── redeemCode.py └── registerUser.py ├── services ├── __init__.py └── referral_system.py └── tests ├── __init__.py └── test_functions.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/app.py -------------------------------------------------------------------------------- /database/connection_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/database/connection_string.py -------------------------------------------------------------------------------- /database/csv_migration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/database/csv_migration.py -------------------------------------------------------------------------------- /database/database_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/database/database_queries.py -------------------------------------------------------------------------------- /database/dummy-data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/database/dummy-data.csv -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/user_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/models/user_models.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/requirements.txt -------------------------------------------------------------------------------- /routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /routers/checkReferralCode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/routers/checkReferralCode.py -------------------------------------------------------------------------------- /routers/getCode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/routers/getCode.py -------------------------------------------------------------------------------- /routers/redeemCode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/routers/redeemCode.py -------------------------------------------------------------------------------- /routers/registerUser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/routers/registerUser.py -------------------------------------------------------------------------------- /services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/referral_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/services/referral_system.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buabaj/python-referral-system/HEAD/tests/test_functions.py --------------------------------------------------------------------------------