Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetchKomp Frontend

Welcome to the frontend repository for the GetchKomp e-commerce platform (Tech Komputer Hub). This application provides a modern, responsive, and dynamic user interface for a computer hardware and accessories store.

🚀 Tech Stack

This project is built with a modern frontend stack to ensure high performance, type safety, and great developer experience:

✨ Key Features

  • Dynamic Homepage: Features hero banners, product highlights, and categories fetched dynamically from the backend API.
  • Product Catalog & Variants: Browse products and select mandatory variants (color, panel, refresh rate) before adding to cart.
  • Shopping Cart & Checkout: Integrated checkout process linked directly to the backend order API and payment gateway (Xendit).
  • Wishlist Management: Global wishlist state allowing users to easily save favorite products.
  • Blog & Articles: Read tech articles and news with dynamic category and tag metadata.
  • Responsive Design: Fully responsive layout optimized for mobile, tablet, and desktop viewing.

🛠️ Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd tech-komputer-hub-main
  2. Install dependencies:

    npm install
  3. Environment Setup: Create a .env file in the root directory based on .env.example (if available) or add the necessary environment variables.

    Example .env configuration:

    VITE_API_URL=http://localhost:8000

    (Ensure the backend API is running on port 8000 or update the URL accordingly)

  4. Start the development server:

    npm run dev

    By default, the Vite development server will run on http://localhost:8080 (or http://localhost:5173 depending on configuration).

📜 Available Scripts

In the project directory, you can run:

  • npm run dev: Runs the app in the development mode.
  • npm run build: Builds the app for production to the dist folder.
  • npm run lint: Runs ESLint to catch code quality issues.
  • npm run preview: Locally preview the production build.
  • npm test: Runs Vitest for unit and integration testing.

🤝 Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

📄 License

This project is proprietary and confidential. Unauthorized copying of this file, via any medium is strictly prohibited.

About

Project Frontend untuk website produk komputer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages