Sign inSign up

70madmax07/ecommerce-frontend

By 70madmax07

•Updated 5 days ago

Production React & Vite SPA for E-Commerce platform served via optimized Nginx reverse proxy.

Image
Web servers
0

52

70madmax07/ecommerce-frontend repository overview

⁠E-Commerce Platform Client UI

A high-performance, containerized single-page application (SPA) built with React, Vite, and Tailwind CSS, served through an optimized Nginx web server on Alpine Linux.

⁠Architecture & Features

  • Multi-Stage Build: Compiles static assets in a transient Node build stage and transfers the minified /dist bundle into a clean Nginx Alpine container.
  • Embedded Reverse Proxy: Nginx configuration handles client-side routing (try_files $uri /index.html) and proxies /api calls directly to the backend service.
  • Real-Time Client: WebSocket listeners for live cart adjustments, stock status alerts, and order confirmations.
  • Ultra-Compact Footprint: Weighs under 100MB on disk with minimal memory consumption and instant cold starts.

⁠How to Run

⁠Standalone Container
docker run -d \
  --name ecommerce-frontend \
  -p 80:80 \
  70madmax07/ecommerce-frontend:latest

Tag summary

Content type

Image

Digest

sha256:ee8996bf2…

Size

25.4 MB

Last updated

5 days ago

docker pull 70madmax07/ecommerce-frontend