← ExamplesAPI documentation

Template source

Complete consumer-owned files. Start with Setup.md; download the project and source files together. The catalog viewer bar is not included.

Example.fsproj

Download file
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup><TargetFramework>net10.0</TargetFramework><AssemblyName>Ledger.Server</AssemblyName></PropertyGroup>
  <ItemGroup>
    <PackageReference Update="FSharp.Core" Version="10.0.102" />
    <ProjectReference Include="Components/Acme.Components.fsproj" />
    <ProjectReference Include="UseCases/Ledger.Application.fsproj" />
    <PackageReference Include="Giraffe" Version="8.3.0" />
    <Compile Include="Model.fs" />
    <Compile Include="Layout.fs" />
    <Compile Include="AppMode.fs" />
    <Compile Include="Application.fs" />
    <Compile Include="Architecture.fs" />
    <Compile Include="Specification.fs" />
    <Compile Include="ApiDocumentation.fs" />
    <Compile Include="Routing.fs" />
    <Compile Include="Hosting.fs" />
    <Compile Include="Program.fs" />
  </ItemGroup>
</Project>

Install the listed components, compile your Tailwind stylesheet, and provide the assets configured in Layout.fs.

Ledger API reference