- Paypal Integration
- File Upload/Download
- Images
- Async Database
- Alembic database migrations
- Performance tuning experiment
Make sure right docker-compose version is installed
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Run backend
cd Bookstore-Project
sudo docker-compose build
sudo docker-compose up -d
Update backend
git pull
sudo docker-compose build
sudo docker-compose down
sudo docker-compose up -d
Currently there is very limited tests but to run run them make sure you have the backend running and use the following command
docker-compose exec api /app/tests-start.sh
Api documentation can be found at http://localhost:8000/docs
Database migrations are done using alembic
alembic revision --autogenerate -m 'Add columb to blaa'
After this the docker-compose deployment will run alembic upgrade head
to upgrade the database