Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Last active August 2, 2023 16:47
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xeoncross/0f1d1740e8830972b01ba434245a995a to your computer and use it in GitHub Desktop.
Save xeoncross/0f1d1740e8830972b01ba434245a995a to your computer and use it in GitHub Desktop.
The future of fast MVP's using Go and Typescript using code generation

The future of fast MVP's using Go and React

As Go matures, no-code (if you squint) solutions are making their way into the ecosystem. This means faster MVP's and less errors writing out the same CRUD project-after-project.

  1. Starting with just your sql statements, you use sqlc to generate the models and entities
  2. Write your actual service/business logic using the entities and interfaces sqlc generated (wish list: skip this step)
  3. Use goa to generate your OpenAPI HTTP or gRPC webserver
  4. Have openapi-generator produce the Typescript SDK you're UI will use to call it
  5. Build out your interface
  6. Publish (web, app store, etc..)
  7. Make it home in time for dinner

Alternative realities include:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment