Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Einhell — Genuine Power Tools & Garden Equipment

Full-stack e-commerce platform for genuine Einhell power tools, garden machinery, and the Power X-Change battery system. Built from a Claude Design handoff into a real Vite + React app with an Express/Prisma API.

Repository layout

Path What it is
einhell-platform/ The application — Vite + React frontend and Express + Prisma + SQLite API
einhell-platform/server/ The REST API (auth, catalog, cart, orders, quotes, admin)
einhell/ The original Claude Design handoff bundle (HTML/CSS/JS prototypes) the app was built from

Highlights

  • Frontend — Vite + React SPA: catalog, shop with filters, product pages, cart, multi-step checkout, quote requests, customer dashboard, admin dashboard.
  • Backend — Express + Prisma + SQLite REST API: JWT auth, server-side order pricing, stock decrement, admin order/quote status workflow, supertest tests.
  • i18n — French (default), English, and Arabic with right-to-left support.
  • Security — helmet, auth rate-limiting, CORS lock, env validation.

Quick start

Two terminals — see einhell-platform/README.md and einhell-platform/server/README.md for full details.

# Terminal 1 — API
cd einhell-platform/server
cp .env.example .env        # then edit if needed
npm install
npm run setup               # create + seed the database
npm run dev                 # http://localhost:4000

# Terminal 2 — frontend
cd einhell-platform
npm install
npm run dev                 # http://localhost:5173

Demo sign-in (password demo1234): karim@example.com (customer) or admin@einhell-tn.com (admin).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages