debdutgoswami / fampay-takehome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FamPay Takehome


Unfortunately due to an unforeseen event, I was unable to pick up the task during the weekend so completed it in one sitting so missed the part on making smaller commits.


Features implemented

All requirements including Bonus Points in the Assignment Notion Doc are implemented.

Deploy and Test locally

Build & Deploy the services

cd deployment
docker compose build
docker compose up

Create admin username and password

Open up a new shell inside deployment and type the following command

docker compose exec server sh -c "export DJANGO_SUPERUSER_PASSWORD=admin-password && python3 manage.py createsuperuser --noinput --username admin --email admin@famapp.in"

Login to Admin & set API Keys

Wait for data to be populated

Test the API

About


Languages

Language:Python 99.0%Language:Dockerfile 1.0%