Skip to content

RaymundoZa/FrontEnd_BreakToy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Inventory Management – Frontend

This is the frontend application for the Inventory Management system built as part of the Breakable Toy I project at Encora. It allows users to manage products, visualize inventory metrics, and interact with a clean, responsive UI.

πŸš€ Tech Stack

  • TypeScript
  • React
  • Vite
  • Tailwind CSS
  • Axios
  • Chart.js

🌐 Features

  • πŸ” Search & Filter: Filter products by name, category, and stock availability.
  • πŸ“¦ Product Management: Create, update, delete, and restock products with modal forms.
  • πŸ“Š Data Visualization: See bar charts for stock and pricing per category.
  • πŸŒ’ Dark Mode: Fully styled interface with Tailwind and dark theme.
  • πŸ“± Responsive Design: Mobile-first and fully adaptive layout.

πŸ“ Folder Structure

  • src/
    • api/: Axios configuration and API methods
    • components/: Reusable UI components (ProductForm, SearchBar, etc.)
    • assets/: Logos and images
    • App.tsx: Main app logic and routing
    • main.tsx: Entry point

πŸ”§ Setup & Run

1. Install dependencies

npm install

npm run dev

npm run build

The app will be available at: http://localhost:8080

Make sure the backend is running on http://localhost:9090


πŸ”„ API Integration

This frontend connects to a REST API built with Spring Boot. All API calls are handled using Axios via the methods in src/api/products.ts.


πŸ“Š Metrics

We use Chart.js to display:

  • Total stock per category
  • Average price per category These charts are automatically updated when product data changes.

πŸ“¦ Deployment

This project is built with Vite, making it easy to deploy to:

  • GitHub Pages
  • Netlify / Vercel
  • Docker container (with NGINX)

πŸ‘¨β€πŸ’» Author

Raymundo Daniel Zamora JuΓ‘rez

Encora SPARK Program Β· 2025

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published