Django-Todolist is a todolist web application with the most basic features of most web apps, i.e. accounts/login, API and (somewhat) interactive UI.
I've also build a quite similar app in Flask: https://github.com/rtzll/flask-todolist
Try it out by installing the requirements. (Works only with python >= 3.8, due to Django 4)
pip install -r requirements.txt
Migrate:
python manage.py migrate
And then start the server (default: http://localhost:8000)
python manage.py runserver
Now you can browse the API or start on the landing page
Build docker image and push it to ECR:
export AWS_ACCOUNT_ID="$(aws sts get-caller-identity --query "Account" --output text)"
export AWS_REGION=us-east-1
export ECR_REPO=test
aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com
docker build -t $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$ECR_REPO .
docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$ECR_REPO:latest