Skip to content

Happykiller/DraftDream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,448 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DraftDream Monorepo

DraftDream is a multi-stack platform for coaching operations with five main applications:

  • API (api/): NestJS GraphQL backend (hexagonal architecture)
  • Frontoffice (frontoffice/): coach/athlete web application
  • Backoffice (backoffice/): administration console
  • Showcase (showcase/): public marketing + support website
  • Mobile (mobile/): mobile/PWA surface

The repository also contains Docker orchestration (docker-compose*.yml) and shared deployment helpers (Makefile, Makefile.old).


Prerequisites

  • Docker + Docker Compose plugin
  • GNU Make
  • Node.js 20+ and npm (for local stack-by-stack runs)

Quick start (Docker)

  1. Clone the repository.
  2. Create your local .env from the provided template (never commit secrets):
cp .env.example .env
  1. Add local host entries (see below).
  2. Start the dev profile:
docker compose -f docker-compose.dev.yml up -d
  1. Check running services:
docker compose ps

Local DNS configuration

Add these entries to your hosts file:

127.0.0.1 api.local.fo
127.0.0.1 front.local.fo
127.0.0.1 back.local.fo
127.0.0.1 showcase.local.fo
127.0.0.1 mobile.local.fo
127.0.0.1 io.local.fo

Service endpoints


Useful commands

Command Purpose
make help List available make targets
make build Build all service images
make <service> Build and save a single image (e.g. make api)
docker compose -f docker-compose.dev.yml up -d Start local development services
docker compose -f docker-compose.dev.yml down Stop development services
docker compose -f docker-compose.dev.yml logs -f Tail development logs
docker compose --profile prod up -d Start production profile locally
docker compose --profile prod down Stop production profile
docker compose --profile prod logs -f Tail production logs
docker compose ps Check status and health
docker compose logs -f <service> Inspect service logs

Stack-specific documentation


Production note

Deployment commands in this repository assume SSH access to the target host and correctly configured variables in Makefiles (PROD_HOST, REMOTE_ROOT, REMOTE_IMAGE_DIR).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors