Craft.CraftModule.Templates.BasicApi 1.0.1

dotnet new install Craft.CraftModule.Templates.BasicApi::1.0.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

🧩 Craft Module - Basic Minimal API Template

A sleek, modular Basic Minimal API starter project template powered by the Craft Module library.

This template is perfect for building REST APIs using minimal api. And, this templates comes with src and tests folder structure, so you can easily separate your application code from your tests. Also, it is a default module based on WeatherForecast module, so you can easily add or remove modules as needed.


🚀 Features

  • Minimal API
  • Modularity - You can add or remove modules as needed.
  • Scalar OpenApi enabled by default on development mode.
  • Ready-to-extend structure

📦 Installation

You can install this template globally from NuGet:

dotnet new install Craft.CraftModule.Templates.BasicApi

Then you can create a new project using the template:

dotnet new cm-basic-api -n MyawesomeApi -o MyawesomeApi

How to run project

dotnet run --project src/MyawesomeApi/MyawesomeApi.csproj

How to test project

dotnet test

🔁 Uninstalling the Template

To uninstall the template, run the following command:

dotnet new uninstall Craft.CraftModule.Templates.BasicApi

About Craft Module

For more information about craft module please visit: Craft

👨‍💻 Author

Sajankumar Vijayan

  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 198 4/10/2025
1.0.0 187 4/10/2025