No description
- TeX 58.1%
- TypeScript 25.6%
- Go 15.9%
- PowerShell 0.2%
- CSS 0.1%
- Other 0.1%
|
|
||
|---|---|---|
| .github/workflows | ||
| apps | ||
| autoreferat | ||
| deploy | ||
| docs | ||
| overleaf_packages | ||
| overleaf_singlefile | ||
| packages | ||
| scripts | ||
| thesis | ||
| .codex | ||
| .dockerignore | ||
| .env | ||
| .env.production.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| go.work | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tmp_autoreferat.txt | ||
TechZone Store (Expanded)
Stack
- Frontend: Next.js App Router + BFF (
apps/web) - Backend: Go modular monolith (
apps/api) - Database: Postgres
- Object storage (local): MinIO
Delivered modules
- Storefront: catalog, product, cart, checkout, category/brand/promo/content pages
- Auth + RBAC: register/login/logout/refresh/me (
customer/manager/admin) - Account: profile, addresses, orders, wishlist, compare, bonuses, coupons, subscriptions
- Mock payments:
online_mock,cash_on_delivery, intent lifecycle - Admin CRM: catalog/content/orders/customers/inventory/returns/finance/analytics/rbac
Quick start
- Prepare
.env(you can start fromdeploy/env/.env.local.example). - Install dependencies:
powershell ./scripts/bootstrap.ps1
- Start infra:
docker compose -f deploy/docker-compose.yml up -d postgres minio
- Run migrations:
powershell ./scripts/db-migrate.ps1
- Optional: load demo catalog data:
npm run db:seed
- Start services:
- API:
npm run dev:api - Web:
npm run dev:web
- API:
Default admin (bootstrap)
- Email:
admin@example.com - Password:
Admin123!
Main routes
- Store:
http://localhost:3000 - Account login:
http://localhost:3000/auth/login - Admin dashboard:
http://localhost:3000/admin/dashboard - API health:
http://localhost:8080/healthz - MinIO console:
http://localhost:9001
Checks
npm run lintnpm run typechecknpm testnpm run build:webnpm run build:api