Prompt to Prompt: Go Backend Foundation Phase
Prompt to Prompt: Go Backend Foundation Phase is a verified PROMPT blueprint on Promptally in System & Base Contexts optimized for leading AI models. Curated Coding prompt from awesome-prompts library split. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | PROMPT (System & Base Contexts) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 338 |
| Source file | prompt-prompt-go-backend-foundation-phase.txt |
| Access tier | Free public (MIT) |
Pre-Filled Template
# 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 this prompt
- Review the pre-filled example and source files above.
- Copy the template or download
prompt-prompt-go-backend-foundation-phase.txt, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Prompt to Prompt: Go Backend Foundation Phase?
Open the prompt on Promptally, review the pre-filled example, then copy the template or download prompt-prompt-go-backend-foundation-phase.txt and paste it into your model, IDE or workflow tool. Prompt to Prompt: Go Backend Foundation Phase is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Prompt to Prompt: Go Backend Foundation Phase free?
Yes. Prompt to Prompt: Go Backend Foundation Phase is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Prompt to Prompt: Go Backend Foundation Phase need?
Prompt to Prompt: Go Backend Foundation Phase is a static blueprint with no dynamic variables. Copy it and use it as-is.