提示词场景库提示词场景库提示词场景库
提示词分类发现
提示词场景库·2026
关于/免责隐私条款
y

younsi Mohammed wassim

@mohamedwassim4

1提示词
0个机器人
0个团队
0收到的点赞
0贡献
加入时间 1 天前
1 贡献 过去一年
11月
12月
1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
M
W
F
少
多
本地商业管理 MVP 第一阶段基础
文本
【中文任务:本地商业管理 MVP 第一阶段基础】

先按中文标题理解目标;下列原文提示词保留结构与占位符:

# 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.
Y@mohamedwassim4
0