Backender.CLI 1.2.2

There is a newer version of this package available.
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
                    
if you are setting up this repo
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
                    
nuke :add-package Backender.CLI --version 1.2.2
                    

<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

  1. Install from .NET Core Global Tool
  dotnet tool install --global Backender.CLI --version 1.2.1
  1. Create or edit config file
  2. the command line executes the Backender command.
    • Backender
    • wait for prompt to enter the configuration file path
    • carriage return execution command
  3. wait for the end of the task execution.
  4. View output directory results
  5. Edit the created projects as you need.
  6. 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
  1. 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
  2. The relations can be

    • O2O : ONE TO ONE
    • O2M : ONE TO MANY
    • M2M : MANY TO MANY
Product 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.

Version Downloads Last Updated
2.0.2 2,055 8/2/2023
2.0.1 2,041 7/17/2023
2.0.0 1,890 6/23/2023
1.2.2 1,713 5/9/2023
1.2.1 1,596 4/13/2023
1.0.1 1,804 4/5/2023