A sample E-Commerce Command Line Interface app built using Kotlin!
A sample E-Commerce Command Line Interface app built with Kotlin and MySQL for data storage.
localhost/phpmyadmin
Import
Select File Choose db/mykart.sql
file.Go
.Config.kt
file. Replace below fields with your confiurations.
DATABASE_HOST
- Database Host AddressDATABASE_USERNAME
- Username of your databaseDATABASE_PASSWORD
- Password of your databaseDATABASE_NAME
- Name of your databaseMyCart.kt
When you'll run this application there you'll need to Login via user/admin account. Database already contains user accounts. You can login with below credentials
Account | Username | Password |
---|---|---|
ADMIN | admin |
admin |
USER 1 | user1 |
user1 |
USER 2 | user2 |
user2 |
dev.shreyaspatil.mycart # Root Package
.
admin # Admin Activity Classes
user # User Activity Classes
common # Common Activity Classes (User and Admin)
model # Model classes
repository # Single source of data for application
session # Session Management Classes
utils # Utility Classes / Kotlin extensions
This ER diagram is generated by phpMyAdmin