Quick Start
Scaffold a layered Potato project using the official template.
Prerequisites
- .NET SDK 8.0 or newer
- Configure NuGet source for Potato templates and packages
- See Configure NuGet: Configure NuGet for Potato Templates
- Install Potato templates
- See Install & Use Templates: Configure NuGet for Potato Templates
- Or run:
dotnet new install Tat.Potato.Templates --add-source https://nuget.pkg.github.com/Triple-Arm-Technique-ApS/index.json
Step 1 — Create the solution from the template
Use the potatoapp template to generate a ready-to-run solution with Domain, Infrastructure, Application, and API projects.
dotnet new potatoapp -n MyApplication
cd MyApplication
This creates:
MyApplication/
MyApplication.sln
MyApplication.Domain/
MyApplication.Infrastructure/
MyApplication.Application/
MyApplication.Api/
The template already wires up project references and package dependencies.
Step 2 — Restore and build
dotnet restore
dotnet build
Step 3 — Run the API
dotnet run --project MyApplication.Api
Open the printed URL to verify the API is running.
Next steps
- Model your domain tree: 🌳 Modeling Your Domain with Nodes
- Add your first command: 🧩 Add Your First Command
- Search with filters: 🔍 Search Users with Filters