Hainstreet
Full-stack platform that combines a public open world with private domains, built with a Next.js frontend, dedicated NestJS services, isolated PostgreSQL databases, Prisma, Zod, and Docker-based environments.

Overview
Hainstreet combines product-oriented thinking with a service-oriented full-stack architecture so communities can discover, organize, and manage structured private spaces more effectively.
Tech stack
Next.jsReactTypeScriptNode.jsTailwind CSSNestJSPostgreSQLPrismaZodStripeBrevoPlaywrightVitestDocker
Product highlights
- •Public open world as the entry point for discovery.
- •Private domains for clubs, teams, courses, companies, and other groups.
- •Structured memberships with multiple audience layers and scoped visibility.
- •Dedicated owner flow for creation, access settings, discovery control, and domain-oriented onboarding.
Architecture
- •Separate frontend, identity service, and community service connected through clear API boundaries.
- •Isolated PostgreSQL-backed data stores for identity and community concerns, with Prisma used as the shared ORM layer.
- •Schema-based validation with Zod across DTOs and request handling to keep runtime checks aligned with typed backend flows.
- •Local and production Docker Compose environments with health checks and a Caddy-based reverse proxy for HTTPS entry and routing.
- •GitHub Actions workflows automate CI and deployment tasks such as dependency setup, Prisma generation, tests, builds, and rollout steps.