Skip to content

SamuelOliveiraa/smartmart

Repository files navigation

This project was developed as a practical test for the full-stack development internship selection process at APOLLO SOLUTIONS. The goal is to provide an elegant and intuitive design for managing products, categories, and sales in a fictional retail system, SmartMart.

Project Demonstration

SmartMart is a product and sales management dashboard, designed to provide a clear and detailed overview of your business performance. With it, you can register products, import data in bulk, view sales, profits, and much more.

❯ Technologies Used

This project was built with the following technologies:


❯ Features

  • Dashboard:
    • Graphs of sales quantity and profit per month.
    • Cards with total sales, total profit, and the best-selling product.
    • Data filtering by category.
  • Products:
    • Manual registration of new products.
    • Export of products via a CSV file.
    • Product listing with sales and profit information.
  • Categories:
    • Registration of new categories.
    • Listing of existing categories.
  • Sales:
    • Detailed view of all sales.

❯ Getting Started

Follow the instructions below to run the project in your local environment.

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/usuario/smartmart.git
  2. Navigate to the project directory:
    cd smartmart
  3. Install dependencies:
    npm install
    or
    yarn install

Running the Application

To start the development server, run the following command:

npm run dev

Open http://localhost:5173 (or the port indicated in your terminal) in your browser to see the application.


❯ Project Structure

The project is organized as follows:

├── src
│   ├── api
│   ├── components
│   ├── config
│   ├── hooks
│   ├── layout
│   ├── lib
│   └── types
├── public
├── .gitignore
├── package.json
├── README.md
└── ...
  • src/api: API call functions for categories, products, and sales.
  • src/components: Reusable components such as buttons, modals, and tables.
  • src/config: Environment configurations.
  • src/hooks: Custom hooks for fetching and managing data.
  • src/layout: Main page components, such as Dashboard, Products, Sales, and Categories.
  • src/lib: Utility functions.
  • src/types: TypeScript type definitions.

❯ License

This project is licensed under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages