Hyperspan.Api 1.2.0

dotnet new install Hyperspan.Api::1.2.0
This package contains a .NET Template Package you can call from the shell/command line.

Clean Architecture Solution Template

Build Nuget Nuget

The goal of this template is to provide a straightforward and efficient approach to enterprise application development, leveraging the power of Clean Architecture and ASP.NET Core. Using this template, you can effortlessly create a Single Page App (SPA) with ASP.NET Core and Angular or React, while adhering to the principles of Clean Architecture. Getting started is easy - simply install the .NET template (see below for full details).

If you find this project useful, please give it a star. Thanks! ⭐

Getting Started

The easiest way to get started is to install the .NET template:

dotnet new install Hyperspan.Api

Once installed, create a new solution using the template. You can choose to use Postgres, MySQL, or create a Web API-only solution. Specify the client framework using the -D or --database option, and provide the output directory where your project will be created. Here are some examples:

To create a Web API with Postgres(Default), .NET Core and Hyperspan.Api:

dotnet new Hyperspan.Api --output YourProjectName

To create a Web API with MySQL, .NET Core and Hyperspan.Api:

dotnet new Hyperspan.Api --output YourProjectName -D MySQL

Launch the app:

cd YourProjectName
dotnet run

To learn more, run the following command:

dotnet new Hyperspan.Api --help

Database

The template is configured to use Postgres by default. If you would prefer to use MySQL, create your solution using the following command:

dotnet new Hyperspan.Api --output YourProjectName -D MySQL

When you run the application the database will be automatically created (if necessary) and the latest migrations will be applied.

Running database migrations is easy. Ensure you add the following flags to your command (values assume you are executing from repository root)

For example, to add a new migration using package manager:

add-migration 'SampleMigration'

Deploy

The template includes a full CI/CD pipeline. The pipeline is responsible for building, testing, publishing and deploying the solution to a self hosted runner. If you would like to learn more, read the Self-Hosted runner.

Technologies

Versions

The main branch is now on V1.0.0 The versions are available:

Support

If you are having problems, please let me know by raising a new issue.

License

This project is licensed with the MIT license.

Contact

Email Address: info@ramson-developers.com

This package has 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.2.0 3,140 1/14/2024
1.1.1 2,627 11/21/2023
1.0.0 1,334 11/19/2023

What's new:
- Controller classes, Database Entities for User and Role management
- Postgres Support added