Ivan Liashkevich a30fe60414
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful
Add local development environment with switchable backend
Set up local dev workflow: SSH tunnel to dev DB, Next.js API proxy
via rewrites, Docker or native backend on port 5000. Update and
restructure project documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 01:02:56 +02:00

GoodBrick Project

Сайт производителя фасадной плитки GoodBrick — каталог продукции, корпоративная информация.

Services

Service URL Purpose
Production https://new.goodbrick.com.ua Продакшн приложение
Development https://dev.goodbrick.com.ua Dev окружение
Gitea https://git.goodbrick.com.ua Git сервер
Woodpecker CI https://ci.goodbrick.com.ua CI/CD
Uptime Kuma https://status.goodbrick.com.ua Мониторинг

Stack

  • Frontend: Next.js 16 + shadcn/ui + Tailwind CSS 4
  • Backend: .NET 9 Web API + Npgsql
  • Database: PostgreSQL 16
  • Proxy: Caddy 2 (auto-SSL)
  • CI/CD: Woodpecker CI

Local Development

See CLAUDE.md for full local dev setup.

# Terminal 1: SSH tunnel to dev database
.\scripts\local-tunnel.ps1

# Terminal 2: Backend (choose one)
.\scripts\local-backend-dotnet.ps1   # native, with hot-reload
.\scripts\local-backend-docker.ps1   # Docker container

# Terminal 3: Frontend
.\scripts\local-frontend.ps1

Documentation

  • CLAUDE.md — Project conventions, structure, local dev setup
  • SERVER.md — Server infrastructure, services, troubleshooting

Git Workflow

  • main branch → auto-deploy to production
  • dev branch → auto-deploy to dev environment
  • Commit style: conventional, English

Server

  • Host: 31.131.18.254
  • SSH: ssh deploy@31.131.18.254 (key-based)
  • Docker Network: app-network

Next Steps

  • Настроить email для Gitea
  • Настроить автобэкапы баз данных
Description
No description provided
Readme 296 KiB
Languages
CSS 43.8%
TypeScript 25.7%
C# 16.2%
Dockerfile 8.7%
JavaScript 5.6%