Skip to content

Conversation

@sjmiller609
Copy link
Collaborator

@sjmiller609 sjmiller609 commented Nov 6, 2025

Boilerplate for golang API:

  • OpenAPI code gen
  • Dependency injection
  • Configuration
  • Error handling
  • Testing
  • Authentication
  • Handlers / services directory layout

@mesa-dot-dev
Copy link

mesa-dot-dev bot commented Nov 6, 2025

Mesa Description

This PR lays the foundational groundwork for the new API server. It sets up the basic server structure, including the main application entrypoint, configuration, and a health check endpoint. This initial setup is crucial for enabling future development of specific API functionalities.

Key changes include:

  • API Server: Introduced the core HTTP server in cmd/api.
  • Health Check: Added a /health endpoint for monitoring.
  • Configuration: Implemented initial configuration handling.
  • Dependency Injection: Set up wire for dependency management.
  • OpenAPI Spec: Included the initial openapi.yaml to define the API contract.

Description generated by Mesa. Update settings

@@ -0,0 +1,959 @@
openapi: 3.1.0
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not deliberating too much about the exact API fields at the moment, will be changing this as we go. This PR is just setting up boilerplate structure for openAPI code gen, error handling, config, dependency injection, basic testing setup.

@sjmiller609 sjmiller609 requested a review from rgarcia November 6, 2025 20:03
Copy link
Contributor

@rgarcia rgarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's effing go!

@sjmiller609 sjmiller609 merged commit 98c320d into main Nov 6, 2025
1 check passed
@sjmiller609 sjmiller609 deleted the start-server branch November 6, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants