← ClaudeAtlas

backend-setup-stacklisted

Bootstraps a local Node.js backend development stack with Docker, PostgreSQL, and an ORM (Prisma or Sequelize). Use this skill whenever the user wants to: initialize a new backend project, set up a Dockerized database locally, wire up an ORM with automated migrations, scaffold an Express server with a health endpoint, or repair a broken local dev environment involving Docker + Postgres. Also trigger when the user mentions any of: "set up backend", "docker postgres", "prisma setup", "sequelize setup", "local dev stack", "migrate my database", "scaffold express", or "backend boilerplate". If the user is starting any server-side Node.js project and hasn't mentioned a database setup, proactively suggest this skill.
WESTsyre21/setup-backend-stack · ★ 0 · API & Backend · score 75
Install: claude install-skill WESTsyre21/setup-backend-stack
# Skill: Docker + PostgreSQL + Node.js + ORM Stack Setup ## Objective Scaffold a containerized local development ecosystem connecting an Express backend to a Dockerized PostgreSQL instance via Prisma or Sequelize, with automated version-controlled migrations and a verified health endpoint. --- ## Phase 1 — Capability Check & ORM Selection **Check your environment first:** - Do you have filesystem write access? Can you run shell commands? - If **yes**: execute commands directly and report outputs. - If **no**: print every command and file content verbatim; ask the user to run them and paste results back. **ORM Selection Rules (strictly in order):** 1. If the user explicitly writes `Sequelize` (case-insensitive) → use Sequelize. 2. If both ORMs are mentioned or the request is ambiguous → ask: *"Which ORM do you prefer: Prisma or Sequelize?"* 3. Otherwise → default to **Prisma**. **Record your state.** Create or update `.claude_history/setup_status.md` with: - Chosen ORM and framework - DB connection string template - Checklist of phases (unchecked at start, checked as you complete them) --- ## Phase 2 — Structural Scaffolding Run or print these commands in order: ```bash # 1. Confirm Docker docker --version docker compose version # or: docker-compose --version # 2. Init npm (skip if package.json already exists) npm init -y # 3. Install runtime dependencies npm install express # 4. Install ORM dependencies # For Prisma: npm install @prisma/client && npm inst