Repository navigation
Add the make-it-yours guide to all five templates - #33
Merged
Merged
Conversation
# Conflicts: # astro.config.mjs # src/content/docs/minimalapi/getting-started.mdx
Each one is written from a solution we built and tested: Web API ends on 76 tests at 99.7%, GraphQL 77 at 99.1%, MCP 112 at 99.8% and Lambda 75 at 99.7%. MCP adds GetCinemaById, a resource, a prompt and new server instructions, and Lambda adds direct and HTTP API functions with a 201 from the Http helper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a "Make it yours" guide for each template. Each one builds a
Cinemaslice next to the sample domain, then clears out the movies, authors and reviews without dropping under the 95% coverage gate. Each step names the skill a coding agent would follow for it.Application, Infrastructure and the migration steps are the same in all five. Presentation is written for each template's own tech:
GETandPOST /api/cinemas.cinemasquery, acreateCinemamutation and the schema snapshot.cinemas_searchandcinemas_addtools, acinemas://{id}resource and adescribe_cinemaprompt. This needs an extraGetCinemaByIduse case so the resource links can open. Clean-up also rewrites the server instructions, the error hints and the completion handler.GetCinemasandCreateCinemafunctions with HTTP API twins. A create returns 201 through theHttphelper. Clean-up also repoints the DockerfileCMD.Every code block comes from a solution built from the current template, with both domains first and then after clean-up. Build and
dotnet formatwere clean each time. The Minimal API guide was also re-run from the page alone on a fresh solution.Each guide comes first under Guides in its sidebar and is linked from that template's Get started page.
The template home pages, brand's included, now use the same width and gutter as the front page. Before this they were noticeably narrower.
Related issues
Part of LeanMeanCleanApps/.github#78
Checklist