Local Business Management MVP Phase 1 Foundation
Prompt from prompts.chat: Local Business Management MVP Phase 1 Foundation
Prompt Content
Copy and paste directly into your model or internal evaluation tool.
MVP Phase 1 — Foundation
Objective
Create the technical foundation of the Local Business Management System.
Do NOT implement business features yet.
The goal is to have a clean Go application that:
- Starts successfully
- Loads configuration
- Connects to PostgreSQL
- Runs database migrations
- Exposes an HTTP API
- Has structured logging
- Has health checks
- Has clean application startup/shutdown
Stack
- Go
- PostgreSQL
- HTTP REST API
- SQL migrations
- Environment/configuration system
- Structured logging
Initial Structure
cmd/ server/ main.go internal/ platform/ config/ database/ http/ logging/ core/ migrations/ api/ go.mod
Required Endpoint
GET /health
Expected response:
{ "status": "ok", "database": "ok" }
Requirements
Implement graceful shutdown.
Database connection must use connection pooling.
Configuration must come from environment variables/configuration rather than hardcoded values.
Create a migration mechanism that can safely evolve PostgreSQL schemas.
Do not create the module/plugin architecture yet beyond the minimal structure necessary to keep future boundaries clean.
Deliverable
A running local Go server connected to PostgreSQL with a clean project structure and migration system.
Nothing else.
Use Cases
Reference Output
No standard answer available; manual review by scoring dimensions is recommended.
Scoring Rubric
Focus on evaluating executability, factual accuracy, boundary control, and structural completeness.
Try & save
Fill variables and copy, or save as a personal template.
This template has no variables and is ready to copy.
User Rating
0 ratingsYour rating
Log in to rate
Comments
0Log in to comment
Related Prompts
Dreamy Slow Shutter Fashion Portrait
Prompt from prompts.chat: Dreamy Slow Shutter Fashion Portrait
Shell Scripting taste
Prompt from prompts.chat: Shell Scripting taste
Web Performance taste
Prompt from prompts.chat: Web Performance taste