Week4

Testing, CI/CD & Deployment Setup โ€” Week #4 #


Testing and QA #

We conducted basic testing to verify the functionality of API endpoints (i.e., checking whether they respond and work as expected).

But now we have less coverage by tests. In the future we will improve it by creating more complex tests and improoving of the code quality.

Evidence of Test Execution #

testing res


CI/CD Setup #

CI/CD configs

CiCD1

CiCD2

CiCD3

CiCd4

As you can see from spript to keep private data like API keys or databases passwords we use github secrets.


Deployment #

Staging #

For staging server deployment, we use an auto-deployment script integrated into our CI/CD pipeline.
All .env files are manually configured on the server by the DevOps engineer or team lead.

For running our web site we use docker files and docker compose what run all this docker files.

Production #

We deploy a new version of the product weekly to the production server.
The current deployment is available at:

Also you can acsess to the API documentation using this link:

We use a server located in Germany due to regional limitations of the AI API key.
The domain is configured using DuckDNS.


Vibe Check #

The team is staying motivated and productive. Everyone is focused on their tasks, and communication has been smooth throughout the week. We faced some minor technical challenges with the MongoDB setup and CI/CD pipeline, but they were resolved quickly thanks to good collaboration. Progress feels steady, and weโ€™re gaining momentum as more features come together. Thereโ€™s a clear sense of direction, and the team is aligned on our short-term goals. Overall, the vibe is positive and focused.


Weekly Commitments #

What Was Done This Week? #

  • MongoDB Integration:

    • Set up a MongoDB database to store AI chat history.
    • Created API endpoints to:
      • Retrieve chat history
      • Add new messages
      • Delete chat history
  • Geo Recommendations Page:

    • Initial version of the Geo Recommendations frontend page created.
    • Currently a static template; backend API integration is planned for next week.

Geo Recommendations

  • CI/CD Improvements:

    • Backend endpoint tests added.
    • Autodeployment script updated and fixed.
  • backend endpoints

    • Created endpoints for gettinf JSON-array of current user interation history, and will be created endpoints for weather and geolocation recomendations
  • AI rescheduling recomendation page

    • In this week will be created AI rescheduling page but now it does not integrated to frontend pages.

    Recomendations page


Individual Contributions #

Team MemberContributionLinks
Dmitriy RyazanovEndpoints for weather and geolocations recomendationsgithub commit
Diana TsoiCreate Recomendations frontend page(now not integrated to main pages structure)github commit
Stepan Sarantsevendpoint getting JSON-array of current user interaction historygithub commit
Andrey ZhdanovCreated API endpoints for AI reschedulinggithub commit
Artyom LapinWrote CI/CD tests, edited autodeployment scriptgithub commit github commit
Mikhail SofinDeveloped Geo Recommendations frontend pagegithub commit
Salavat ZaynulinSet up MongoDB, developed API for chat history ops, write report week 4github commit, github commit, github commit

Plan for Next Week #

  • Complete backend integration for Geo Recommendations
  • Complete backend integration for AI rescheduling recomendations
  • Improve AI chat model setup
  • Connect voice to task function in AI chat menu

Confirmation of Code Operability #

We confirm that the code in the main branch:

  • Is fully operational
  • Runs successfully via docker-compose