A modern online store for gadgets, clothing, cosmetics or any products. Search, categories, sorting (cheapest/priciest/rating/discount), product view (with specs), cart, promo codes and orders sent to Telegram.
Promo codes are checked on the server (.env → PROMO_CODES) — they are not visible in the page code; price and discount are calculated on the server. Products live in one file (public/catalog.json). Works the same in Node.js site and PHP site environments.
Features
Search, categories, sorting and an “on sale” filter
Discount percent, old price, rating and review count on each card
Product view: description, specs list, add to cart
Promo codes (checked on the server) and a free-delivery threshold
Orders to Telegram and data/orders.jsonl; anti-spam limiting
Works the same in Node.js and PHP site environments
What's in the package
public/index.html
public/style.css
public/app.js
public/catalog.json
public/api/order.php
index.js (Node.js server)
.env
README.md
Installation guide
Install it on your website server in one click. “Files” → .env: set BOT_TOKEN, CHAT_ID and PROMO_CODES (e.g. NEOSHOP10:10), edit the products in public/catalog.json and press Restart.
Update history
v1.0.0MAJOR24.11.2026
1.0.0 — fully tested official release, ready for one-click install.