Week2

Week #2 #

Week 2 - Choosing the Tech Stack, Designing the Architecture #

Tech Stack Selection #

Architecture Design #

  1. Component Breakdown:
  • Frontend - user-friendly platform to browse, search and play mash-ups, create and manage playlists, configure settings and use accounts. Interacts with backend server to retrieve content.
  • Backend - server that handles user authentication and access limitations, manages database and streams tracks. Communicates with UI and database to manage data storage and retrieval.
  • Recommendation system - system of algorithms to recommend content based on user history and preferences.
  1. Data Management:
  • Static content like uploaded mashups is stored as files and streamed by server when need arises.
  • User data and data about files are stored using MySQL.
  1. User Interface (UI) Design:
  1. Integration and APIs: As an ability to search for content in database is vital and central for our application, we use Elasticsearch as a search engine. We chose it because it is powerful, non-consuming (for our volumes of data) and easy for integration.

  2. Scalability and Performance: Right now we are not creating an application for a large number of users, but we keep in mind that the need for scalability might arise during the development process. Changing host or database management system or even breaking backend into microservices are the ways of reasonably easy scaling application for more simultaneous users.

  3. Security and Privacy: For now passwords are the only private information our application stores, we will use encryption to protect them. While we use Rest API, SSL certificates can be used to encrypt all the queries and responses.

  4. Error Handling and Resilience: We will use logging in human-comprehensible format for all the exceptions that arise in the application working process, so that user would be able to understand the problem encountered and report it if necessary.

  5. Deployment and DevOps: We are going to use linters for front-end and SonarQube as static analyser for back-end for every single commit. For robust development workflow, we are going to use pull requests and code reviews, so only correct and good code will be added to the main branch.

Week 2 questionnaire: #

  1. Tech Stack Resources: None

  2. Mentorship Support: None

  3. Exploring Alternative Resources:

    For back-end:

  1. Identifying Knowledge Gaps: we found out two knowledge gaps:
  • Some frontenders do not have any experience with TypeScript, and some do not have a lot of experience with React.js
  • Lack of expertise in modern approaches for audio content recommendation systems

This defines our lerning objectives for this week.

  1. Engaging with the Tech Community: None

  2. Learning Objectives: Explore state-of-the art approaches and solutions for music recommendation systems.

  3. Sharing Knowledge with Peers: Code reviews with discussions and productional meetings on big tasks are the main ways of knowledge sharing we will use.

  4. Leveraging AI: Noneц

Tech Stack and Team Allocation #

Team MemberTrackResponsibilities
Leonid MeshcheriakovFullstack, Dev-OpsBackend REST API, frontend scripts, deployment
Sviatoslav SvyatkinFrontendFrontend layout, frontend scripts
Sofia ShulyakFrontend, MLFrontent tests and fixes, recommendation system
Aleksandr SkvorcovDatabase managerDatabase schemas and optimization
Artem MatevosianDesignLayout design

Weekly Progress Report #

Our team on this week:

  • Reviewed and optimized database schemas
  • Created environment for the backend deployment
  • Deployed current version of the backend
  • Setup DNS records for the backend
  • Added internationalization in the frontend
  • Introduce basic API usage in the frontend

Challenges & Solutions #

At this week no one faced with any real challenges in our team, but just few frontenders were having some troubles with learning and understanding TypeScript or React.

Conclusions & Next Steps #

Next week frontenders are going to focus on integrating API from the backend and, if they will have time, on introducing tests.

At the backend we need to focus on optimization, including database, and, if there will be enough time, make some preparations to start integration with ElasticSearch.

Also, we are planning to prepare more safety environment for the deployment by using Docker containers and enabling backups.