Week #4

Week #4 #

πŸ‘¨β€πŸ”¬ Testing and QA #

Our API endpoints were tested with use of pytest. You can see test coverage in our github.com/IU-Capstone-Project-2025/KIZAK/blob/main/README.md. All tests could be found here

Evidence of test execution #

We used pytest for unit testing testing of our application. Here you can find our tests

Our testing workflow could be found here

All testing logs could be found here

♾️ CI/CD #

You can check all links in CI/CD section, or see here

πŸ–₯️ Deployment #

πŸ“ˆ Staging #

First, clone our project:

git clone https://github.com/IU-Capstone-Project-2025/KIZAK
cd KIZAK

Now set up .env file:

# Database configuration
DB_HOST=db
DB_PORT=5432
DB_USER=user
DB_PASSWORD=password
DB_NAME=db

# CORS configuration
CORS_ORIGINS=http://localhost

# API configuration
API_HOST=backend
API_PORT=8000

# Frontend configuration
FRONTEND_HOST=frontend
FRONTEND_PORT=3000
FRONTEND_HOST_PORT=3000

Then build and run the project using Docker Compose:

docker-compose up --build

Visit localhost:8000/docs to access KIZAK API docs or localhost:3000 to see front part

πŸ₯’ Production #

For production we used TimeWeb VDS server working on Ubuntu 22.04. To do so we followed the following steps:

  • Setup SSL certificate
  • Setup Nginx server for SSL and reverse proxy
  • Setup PostgreSQL database
  • Setup our project (back + front + ml)

Now you can visit our site at kizak.ru

😹 Vibe Check #

  • Almost all team members satisfied with our project proress
  • Almost all core features are implemented in production

πŸ“ Weekly commitments #

πŸ“Š Individual contribution of each participant #

🎯 Plan for Next Week #

  • Add JWT
  • Caching support
  • Design update

Confirmation of the code’s operability #

We confirm that the code in the main branch:

  • In working condition.
  • Run via docker-compose (or another alternative described in the README.md).