Skip to content

abakumova/mflix-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

MFlix software project is a training project provided by MongoDB University

Project Structure

  • Frontend: the built-in React application
  • Backend: Java Spring Boot project (managed by Maven)

How to run the application

mvn spring-boot:run

How to run tests of the application

Run single test class:

mvn -Dtest=<Test Class> test

Run all Java files that end with Test.java (from all subdirectories)

cd mflix
mvn -Dtest="**/*Test.java" test

Run whole test package

cd mflix
mvn -Dtest="src.test.java.**" test

Chapters

Chapter 1: Driver Setup

Database client configuration, basic reads

Chapter 2: User-Facing Backend

Basic aggregation, updates, deletes, and joins

Chapter 3: Admin Backend

Read concerns and bulk operations

Chapter 4: Resiliency

Connection pooling, error and timeout handling, and principle of least privilege