This repository contains the Altmed Medical Center website and admin platform refactored into:
backend/: NestJS 10 API with PostgreSQL, JWT auth, CRUD modules, SEO endpoints, analytics, uploads, and seed data.frontend/: Next.js 14 App Router application with public pages, protected admin routes, and typed API integration.
npm installStart PostgreSQL first, then run the apps:
docker compose up -d postgres
npm run dev:backend
npm run dev:frontendOr run both from the root:
npm run devIf you prefer Docker for the full dev stack:
docker compose up --buildIf you want seed data after the database is up:
npm run seed- Frontend:
http://localhost:3000 - Backend:
http://localhost:3001
Nginx is only used in production via docker-compose.prod.yml.
- 1 admin user
- 8 service pages
- FAQs
- 3 blog posts
- 1 active announcement
- Site settings and provider profile