Backender.CLI
1.2.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Backender.CLI --version 1.2.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Backender.CLI --version 1.2.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Backender.CLI&version=1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Backender.CLI --version 1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<p align="center" style="margin-top: 10px;"> <img width="100"src="./docs/Logo.png"/> </p>
Backender
Backender is an open source project in C# language that uses a config file to create the backend of your site in the repository pattern (yet!).
Getting Started
- Install from .NET Core Global Tool
dotnet tool install --global Backender.CLI --version 1.2.1
- Create or edit config file
- the command line executes the Backender command.
- Backender
- wait for prompt to enter the configuration file path
- carriage return execution command
- wait for the end of the task execution.
- View output directory results
- Edit the created projects as you need.
- Enjoy the time saved!
Sample of config file in yaml
SolutionName: GoBlog
SoltionNameSpace: GoBlog
SolutionName: GoBlog
SoltionNameSpace: GoBlog
Domains:
Entites:
- EntityName: Post
EntityCategory: Catalog
Cols:
- ColName: Title
ColType: string
Options: "-r"
- ColName: Author
ColType: string
Options: "-g"
- ColName: Content
ColType: string
- EntityName: Comment
EntityCategory: Catalog
Cols:
- ColName: Content
ColType: string
Options: "-r"
- ColName: Name
ColType: string
Options: "-r"
- ColName: CommentStatus
ColType: CommentStatus
Options: "-r"
- ColName: Email
ColType: string
- EntityName: Category
EntityCategory: Catalog
Cols:
- ColName: Title
ColType: string
Options: "-r"
- ColName: Description
ColType: string
Options: "-r"
relationShips:
- Entity1: Post
Entity2: Comment
RelationShipType: O2M
- Entity1: Category
Entity2: Post
RelationShipType: O2M
Enums:
- EnumName: CommentStatus
EnumValues:
- Name: Pending
Value: 1
- Name: Accepted
Value: 2
- Name: Failed
Value: 3
The options field in the entity Cols can receive multiple options with spaces between them.
- -r means required, and gives it the required property
- -g means get, a method is defined in the repository that returns this object based on this field
The relations can be
- O2O : ONE TO ONE
- O2M : ONE TO MANY
- M2M : MANY TO MANY
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.