App Module
Dagger Hilt module responsible for providing singleton instances used throughout the application.
This module is annotated with Module and is installed in SingletonComponent. It contains methods annotated with Provides to create and configure singleton instances required for dependency injection using Dagger Hilt. These singletons play a crucial role in various aspects of the StudyPlanet application.
Functions
Provides an instance of OkHttpClient configured with an authentication interceptor.
Provides an instance of LoginUseCase using the specified StudyPlanetRepository.
Provides an instance of RegisterUseCase using the specified StudyPlanetRepository.
Provides an instance of StudyPlanetApi using Retrofit.
Provides an instance of StudyPlanetRepository using the specified dependencies.