- π Table of Contents
- π Overview
- π οΈ Technologies
- β‘ Performance & PWA
- π Demo
- π¦ Install and Use
- πΉ Available Scripts
- π File Structure
- π¨ Reference & Inspiration
- π¨βπ» Author and Contact
Optimus Tech is a robust frontend web application engineered to deliver a seamless shopping experience for a modern department store. Designed with a strict emphasis on Core Web Vitals and high Lighthouse scores, the platform ensures rapid product discovery and fluid navigation. Built using a modern React and TypeScript stack, the architecture prioritizes scalable global state management, clean component decoupling, and an optimized rendering pipeline to support a diverse, multi-category product catalog.
The following technologies were used to build this project:
Performance and web application capabilities will be evaluated using Lighthouse and browser testing tools.
The following table will be updated after running a Lighthouse audit on the production deployment.
| Metric | Score Desktop | Status | Score Mobile | Status |
|---|---|---|---|---|
| Performance | 100 | Good | 98 | Good |
| Accessibility | 100 | Good | 100 | Good |
| Best Practices | 96 | Good | 96 | Good |
| SEO | 91 | Good | 91 | Good |
| Agentic Browsing | 2/2 | Passed | 2/2 | Passed |
Audit results refer to the Home page and may vary across other application routes.
The following table tracks the validation of Progressive Web App capabilities.
| Feature | Status |
|---|---|
| Web App Manifest | Not evaluated |
| Service Worker | Not evaluated |
| Offline Support | Not evaluated |
| App Installability | Not evaluated |
Note: Performance scores and PWA capabilities will only be marked as implemented or evaluated after validation.
The project uses Vitest with jsdom and React Testing Library for automated component testing.
The test suite covers:
- UI component rendering and behavior
- Form components and user interactions
- Input components and controls
- Navigation and menu interactions
- Home page rendering
Run the test suite once:
npm run test -- --runStart the test environment in watch mode:
npm run testGenerate a test coverage report:
npm run test:coverageAccess the live application below to interact with the interface and run your own performance tests
7-days-optimus-tech: https://optimus-tech-7-days.vercel.app/
optimus-tech-desktop.mp4
optimus-tech-mobile.mp4
Prerequisites: Node.js (v22.x) or higher installed.
- Clone the repository:
git clone https://github.com/Epiled/optimus-tech.git
cd optimus-tech- Install the dependencies:
npm install- Run the development environment (Build + Watch + Server):
npm run dev- Generate minified build for production:
npm run build- Preview the production build locally:
npm run preview| Command | Description |
|---|---|
npm run dev |
Starts the Vite development server. |
npm run build |
Runs TypeScript checks and generates the production build. |
npm run preview |
Runs a local preview of the production build. |
npm run lint |
Runs ESLint to analyze the codebase. |
npm run test |
Starts the Vitest test environment. |
npm run test:coverage |
Runs tests and generates a code coverage report. |
Below is the project architecture. All development is done inside the src/ folder. The dist/ folder is automatically generated by Vite and should not be edited manually.
7-days-optimus-tech/
βββ public/ # Static assets (favicons, robots.txt)
βββ src/ # Main source code
β βββ assets/ # Images and SVGs processed by the build pipeline
β βββ components/ # Reusable UI components (Atomic Design principles)
β βββ data/ # Static content and application data sources
β βββ interfaces/ # Global TypeScript definitions and data shape contracts
β βββ layouts/ # Shared application layouts
β βββ pages/ # Top-level view components representing application routes
β βββ routes/ # Route definitions and path constants
β βββ styles/ # Global styles and theme definitions
β βββ types/ # Shared TypeScript type aliases and utility types
β βββ App.tsx # Root application component
β βββ main.tsx # Application entry point
β βββ setupTests.ts # Test environment configuration
βββ index.html
βββ package.json # Project dependencies and automation scripts
βββ package-lock.json
βββ tsconfig.json # TypeScript strict configuration
βββ tsconfig.app.json
βββ vite.config.ts # Custom Vite configuration (plugins and aliases)
The project's design and wireframes are available for viewing on Figma.
Figma / Wireframe: Optimus Tech
Felipe De Andrade
Made with β€οΈ by Felipe De Andrade ππ½ Get in touch!
