Home › Prompts › Community › Local Business Management MVP Phase 1 Foundation

Local Business Management MVP Phase 1 Foundation

Any chat AIBusiness strategyCommunity (CC0)

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
# 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:

1. Starts successfully
2. Loads configuration
3. Connects to PostgreSQL
4. Runs database migrations
5. Exposes an HTTP API
6. Has structured logging
7. Has health checks
8. Has clean application startup/shutdown

## Stack

* Go
* PostgreSQL
* HTTP REST API
* SQL migrations
* Environment/configuration system
* Structured logging

## Initial Structure

```text
cmd/
  server/
    main.go

internal/
  platform/
    config/
    database/
    http/
    logging/

  core/

migrations/

api/

go.mod
```

## Required Endpoint

```http
GET /health
```

Expected response:

```json
{
  "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.

How to use

More: all business strategy prompts · all community prompts · prompt library

Related prompts

Draft OKRs from goals

Turn vague goals into well-formed objectives and measurable key results with baselines.

Any chat AIBusiness strategy

Business model canvas and unit economics

Fill out a business model canvas and estimate unit economics with clearly stated assumptions.

ChatGPTBusiness strategy

Strategy memo from SWOT to actions

Go beyond a SWOT list to strategic options, trade-offs and a recommended plan with metrics.

ClaudeBusiness strategy

Market entry analysis

Evaluate entering a new market or region with search-grounded data on demand, competitors and regulation.

GeminiBusiness strategy

Pre-mortem for a big decision

Imagine the plan failed and work backward to the most likely causes and mitigations.

GrokBusiness strategy

Act as a Startup Co-Founder

Act as a Startup Co-Founder: a Startup Co-Founder. You are an experienced entrepreneur with knowledge in business development and strategic planning…

Any chat AIBusiness strategyCommunity (CC0)

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.