Boilerplate Spec

E-Commerce Template

A reusable MVVM + Dagger Hilt boilerplate for e-commerce apps — cart, inventory search, order management, and an admin module, ready to build on.

Category
Android Application
Client
Freelance
Project Date
Oct, 2022
My Role
Solo Developer
ECOM · TEMPLATE
ViewActivity / Fragment
ViewModelUI state
RepositorySingle source of truth
Local DB / APILocal storage + PHP backend
Dagger Hilt injects dependencies into the ViewModel & Repository layers

Every screen follows the same MVVM flow — view, view-model, repository, data source — wired together with Dagger Hilt, so new e-commerce features drop straight into the pattern.

01

What this template does

This project serves as boilerplate code for e-commerce applications — reusable CRUD flows, local storage, and admin functionality that any new e-commerce build can start from.

It follows the MVVM architecture with a single-activity, navigation-component pattern, and dependency injection handled by Dagger Hilt. It includes a local cart, inventory search, and order view/management, all wired together out of the box.

Admin users get their own screen modules to manage and update current orders directly.

Why it works

MVVM + single-activity navigation keeps every screen consistent and predictable.

Dagger Hilt wires up dependencies once, so new features don't repeat boilerplate.

Local cart, inventory search, and order management ship ready to extend.

02

Inside the app

03

Built with

Frontend
Kotlin
XML
Backend
PHP
MySQL
JSON
Architecture
MVVM
Dagger Hilt
Single-Activity Navigation Component
04

What I worked on

01

Created a template application to serve as the foundation for future e-commerce projects.

02

Built the project from scratch and managed it entirely alone.

03

Built the backend APIs in PHP.

04

Designed the application's user interface and programmed it end to end.

05

Designed icons and interface elements.

06

Structured the codebase around MVVM with single-activity navigation, and wired up dependency injection with Dagger Hilt.