ComposeTemplate is a Jetpack Compose template application that follows Clean Architecture best practices. It simplifies the process of setting up a well-structured Compose application by providing a template with a predefined folder structure. ✨
Report Bug
Request Feature
ComposeTemplate is a Jetpack Compose template application that follows Clean Architecture best practices. It simplifies the process of setting up a well-structured Compose application by providing a template with a predefined folder structure. ✨
- Header and Refresh Token interceptor (Implement your refresh token function) DefaultInterceptor.kt
- safeCall network function BaseRepository.kt
- Flexible Navigation Structure NavigationManager.kt
- PreferencesManager PreferencesManager.kt
- Basic Auth Flow (Token Retrieval & Save to local) AuthRepository.kt
- All structure tested with jUnit and MockK Examples
- Added end-to-end examples related all layers.
To create a new project using this template, follow these steps:
- Run the
initializer.sh
script. - Set the
applicationName
andapplicationId
as prompted. - The script will copy a new project with the given credentials 🚀To get a local copy up and running follow these simple example steps.
- Clone the repo
git clone https://github.com/mustafayigitt/ComposeTemplate.git
-
Run
initializer.sh
-
Open the created project with the given application name.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.