Skip to content

Mariam-Amin12/Slash_ShoppingApp

Repository files navigation

Shoppong app

A Home Screen for a shopping App task for Slash Internship

Feature

  1. Responsive Design :Responsive screen for Both Mobile or web layout.
  2. Architecture: clean architecture principles useing MVVM pattern to separate concerns.
  3. State Management: used Cubit for managing state across the application

File Structure

  1. Data Layer: have all the data models, repositories, constant
    the repository is an abstract class for the easy-to-apply any kind of data fetching i have used dummy data so I have implemented a subclass from the main repository

  2. Domain Layer : have the entities and the use cases
    I have made for each of the products and categories an entity, and each fetch of data has a specific use case

  3. Presentation Layer: have Views, View Model, Business Logic, Widget
    Views:have all the needed pages (screens) View Model: in that task, I have implemented two views one for the app the main widgets and one for the HomeScreen to provide it with data
    widgets:have all the needed component
    Business Logic:I have used the cubit state management in fetching data and getting its state and for navigation between pages using the Navigation Bar

mobile HomeScreen

Screenshot1

Web HomeScreen

Screenshot 2024-06-22 200009

Runnning the project

Prerequisites:

  • Ensure you have the necessary development tools installed for your chosen framework (IDE, SDKs). Common options include:
    • Flutter:
      • Flutter SDK (flutter.dev)
      • IDE with Flutter support (VS Code with Flutter plugin, Android Studio, etc.)

Instructions:

  1. Clone the Repository (if applicable):

    flutter pub get
    
    flutter run
    

Created By (Mariam Amin)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published