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 #
- Continuous Integration
- Continuous Delivery
- Deploy on VDS (see workflow)
π Links to CI/CD configuration files #
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 #
Marsel Berheev: m.berheev@innopolis.university
- Weekly report
- API Update (see pull request)
- Continuous Delivery (see commit or workflow)
Maksim Malov: m.malov@innopolis.university
- Added API tests (see pull request)
- Code refactor
Makar Egorov: m.egorov@innopolis.university
- Added OAuth (see pull request)
Timur Farizunov: t.farizunov@innopolis.university
- Frontend refinement (see fixes)
Sarmat Lutfullin: s.lutfullin@innopolis.university
- Frontend refinement (see fixes)
Ulyana Chaikovskaya: u.chaikouskaya@innopolis.university
- Vector search and recomendation ranking (see pull request)
Kseniia Khudiakova: k.khudiakova@innopolis.university
- Vector search and recomendation ranking (see pull request)
π― 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
).