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 #
CI/CD Setup #
Link to CI/CD Configuration Files #
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.
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.
Individual Contributions #
Team Member | Contribution | Links |
---|---|---|
Dmitriy Ryazanov | Endpoints for weather and geolocations recomendations | github commit |
Diana Tsoi | Create Recomendations frontend page(now not integrated to main pages structure) | github commit |
Stepan Sarantsev | endpoint getting JSON-array of current user interaction history | github commit |
Andrey Zhdanov | Created API endpoints for AI rescheduling | github commit |
Artyom Lapin | Wrote CI/CD tests, edited autodeployment script | github commit github commit |
Mikhail Sofin | Developed Geo Recommendations frontend page | github commit |
Salavat Zaynulin | Set up MongoDB, developed API for chat history ops, write report week 4 | github 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