No description
  • TeX 58.1%
  • TypeScript 25.6%
  • Go 15.9%
  • PowerShell 0.2%
  • CSS 0.1%
  • Other 0.1%
Find a file
slova c0d7039832
Some checks failed
CI / build-and-test (push) Has been cancelled
course23
2026-05-04 14:41:13 +03:00
.github/workflows feat: expand store with auth account admin crm and mock payments 2026-02-26 15:37:15 +03:00
apps fix: serve product media and split seed data 2026-04-13 19:04:52 +03:00
autoreferat course23 2026-05-04 14:41:13 +03:00
deploy feat: expand store with auth account admin crm and mock payments 2026-02-26 15:37:15 +03:00
docs feat: expand store with auth account admin crm and mock payments 2026-02-26 15:37:15 +03:00
overleaf_packages course23 2026-05-04 14:41:13 +03:00
overleaf_singlefile feat: add product comparison flow 2026-04-13 17:47:14 +03:00
packages fix: serve product media and split seed data 2026-04-13 19:04:52 +03:00
scripts fix: serve product media and split seed data 2026-04-13 19:04:52 +03:00
thesis feat: add product comparison flow 2026-04-13 17:47:14 +03:00
.codex feat: implement production deployment, api hardening and storefront refresh 2026-04-07 20:03:43 +04:00
.dockerignore feat: implement production deployment, api hardening and storefront refresh 2026-04-07 20:03:43 +04:00
.env feat: expand store with auth account admin crm and mock payments 2026-02-26 15:37:15 +03:00
.env.production.example feat: implement production deployment, api hardening and storefront refresh 2026-04-07 20:03:43 +04:00
.gitignore feat: implement production deployment, api hardening and storefront refresh 2026-04-07 20:03:43 +04:00
docker-compose.yml fix: serve product media and split seed data 2026-04-13 19:04:52 +03:00
go.work feat: expand store with auth account admin crm and mock payments 2026-02-26 15:37:15 +03:00
package-lock.json feat: implement media library, product admin UX and storefront fixes 2026-03-01 12:20:12 +03:00
package.json fix: serve product media and split seed data 2026-04-13 19:04:52 +03:00
README.md fix: serve product media and split seed data 2026-04-13 19:04:52 +03:00
tmp_autoreferat.txt feat: add product comparison flow 2026-04-13 17:47:14 +03:00

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

  1. Prepare .env (you can start from deploy/env/.env.local.example).
  2. Install dependencies:
    • powershell ./scripts/bootstrap.ps1
  3. Start infra:
    • docker compose -f deploy/docker-compose.yml up -d postgres minio
  4. Run migrations:
    • powershell ./scripts/db-migrate.ps1
  5. Optional: load demo catalog data:
    • npm run db:seed
  6. Start services:
    • API: npm run dev:api
    • Web: npm run dev:web

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 lint
  • npm run typecheck
  • npm test
  • npm run build:web
  • npm run build:api