Lobster.Boot 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Lobster.Boot --version 1.3.0                
NuGet\Install-Package Lobster.Boot -Version 1.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lobster.Boot" Version="1.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lobster.Boot --version 1.3.0                
#r "nuget: Lobster.Boot, 1.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lobster.Boot as a Cake Addin
#addin nuget:?package=Lobster.Boot&version=1.3.0

// Install Lobster.Boot as a Cake Tool
#tool nuget:?package=Lobster.Boot&version=1.3.0                

LobsterBoot

介绍

LobsterBoot是一种新的应用系统开发方式,在线开发前端、后端代码,无需在本地搭建开发环境、安装开发IDE工具,通过浏览器就可以进行开发、调试。主要开发语言采用Typescript,整合了Gitee平台进行代码自动托管,服务部署在Docker。 LobsterBoot是一个开源底层开发框架,类似SpringBoot框架。

以下系统采用LobsterBoot框架进行开发:

  1. LobsterWebIDE(在线代码编辑器)
  2. LobsterAdmin(后台管理系统)
  3. 小苹果互联网医疗健康平台

文档地址:https://kakake.gitee.io/lobsterboot/#/

软件架构

alternate text is missing from this package README image<br>

快速使用
方式一,拉取LobsterBoot Docker镜像进行部署使用
  1. 在Docker中部署LobsterBoot
$ docker pull registry.cn-hangzhou.aliyuncs.com/kakake/lobsterboot:latest
$ docker run -d -p 7777:80 -p 7222:7222 --restart=always --name lobsterboot registry.cn-hangzhou.aliyuncs.com/kakake/lobsterboot:latest
  1. 打开http://localhost:7777/bootconfig.html,进行应用配置,默认登录密码Lobster@123456
  2. 在Gitee网站上进行配置后,编写应用代码
方式二,在netcore项目中引用lobsterboot类库
  1. 引用Lobster.Boot.dll类库
<PackageReference Include="Lobster.Boot" Version="1.0.0" />
  1. 创建lobsterboot.json文件
{
    "LoginPassWord": "Noz2wU8j02qvDMAqqTE+uA==",
    "Gitee": {
        "ClientId": "10a98ef50311779283b652142c19db3b6a3cba8dd7b2ab26e12cb9cb6a046f58",
        "ClientSecret": "",
        "RedirectUri": "https://localhost:7184/bootconfig.html",
        "AccessToken": "",
        "RefreshToken": ""
    },
    "AppList": [
        {
            "AppId": 3052,
            "AppKey": "APP20210329185258876",
            "AppName": "模板应用",
            "AppImage": "https://lobsteross.mcloudsoft.cn/20221108/50435422-7be8-4eaa-a272-315901701456.png",
            "AppSecret": "7fdbc0ffc06546277acb945798",
            "gitee_repo": {
                "owner": "kakake",
                "repo": "lobsterboot-3052-books",
                "refs": "master"
            },
            "menus": [
                {
                    "name": "书籍管理(在线Web)",
                    "href": "/webapp/3052/bookmanage.html",
                    "children": null
                }
            ],
            "databases": [
                {
                    "DBName": "LobsterPlatform",
                    "UserName": "sa",
                    "Pass": "",
                    "ServerName": "",
                    "DBPort": "1433",
                    "DbType": "sqlserver",
                    "DefaultFlag": true
                }
            ],
            "maskingrules": [
                {
                    "Name": "名称脱敏",
                    "Fields": "BookName",
                    "StartNum": 1,
                    "EndNum": 1,
                    "ReplaceChar": "*",
                    "ExcludeFunname": ""
                }
            ],
            "lastpulldatetime": "2023-10-14 23:53:41",
            "lastpublishdatetime": "2023-10-14 23:53:42",
            "environment_pro": false
        }
    ],
    "CustomFactory": [
        {
            "dll": "Lobster.Boot",
            "type": "Lobster.Boot.ClearScript.IClearScriptHandler"
        }
    ]
}
  1. 修改Program.cs
 builder.Services.AddLobsterBoot(builder.Configuration, logger);

 app.UseLobsterBoot(app.Environment, app.Configuration);
  1. 修改appsettings.Development.json
{
  "Logging": {
    "LogLevel": {
      "Default": "Trace",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "ConnectionStrings": {
    "DbType": "sqlserver", //数据库类别:sqlserver、uxdb、npgsql、mysql、sqllite等
    "DefaultConnection": "server=42.192;database=lobsterplatform;uid=sa;pwd=@;",
    "RedisConnection": "42.192:6379,password=@ux,defaultdatabase=0"
  },
  "RabbitMQ": {
    "Host": "42.192.",
    "Password": "1",
    "Port": 5672,
    "UserName": "admin",
    "VirtualHost": "/admin"
  },
  "App": {
    "ApiGateway": "https://apple.mcloudsoft.cn"
  }
}
功能演示图
  1. 应用配置

配置地址:http://localhost:7777/bootconfig.html

alternate text is missing from this package README image<br>

  1. 应用预览

预览地址:http://localhost:7777/apppreview.html

alternate text is missing from this package README image<br>

  1. 在Gitee上编写代码

模板应用的代码仓库地址:https://gitee.com/kakake/lobsterboot-3052-books

alternate text is missing from this package README image<br>

  1. 调试接口

第一步:在浏览器输入chrome://inspect/#devices,配置地址localhost:7222

第二步:将出现Remote Target#LOCALHOST,点击inspect打开DevTools界面

第三步:打开接口https://localhost:7777/lobsterapi/?fun=tsbook.getdata2&view=layui&appid=3052&debug=true

第四步:DevTools界面将自动进入断点,进行调试api代码

alternate text is missing from this package README image<br>

LobsterBoot在线体验

演示地址:http://www.mcloudsoft.cn:7777/bootconfig.html
登录密码:Lobster@123456
文档地址:https://kakake.gitee.io/lobsterboot/#/

alternate text is missing from this package README image<br> alternate text is missing from this package README image<br>

LobsterWebIDE(在线代码编辑器)【未开源】

演示地址:http://www.mcloudsoft.cn:7774/webide/appcode.html
登录密码:Lobster@123456

alternate text is missing from this package README image<br>

LobsterAdmin(后台管理系统)在线体验【未开源】

登录地址:http://www.mcloudsoft.cn:7773/admin/login/Index.html
超级管理员:kakake/Aa123456
机构管理员:zenghao/Aa123456
开发者:lobster/Aa123456

alternate text is missing from this package README image<br> alternate text is missing from this package README image<br> alternate text is missing from this package README image<br> alternate text is missing from this package README image<br>

小苹果互联网医疗健康平台在线体验【未开源】

登录地址:http://www.mcloudsoft.cn:7773/admin/login/Index.html
登录账号:zsadmin/Aa123456

alternate text is missing from this package README image<br>

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Lobster.Boot:

Package Downloads
Lobster.WebIDE

在线IDE

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.8 46 11/21/2024
1.5.7 43 11/20/2024
1.5.6 65 11/18/2024
1.5.5 64 11/13/2024
1.5.4 86 11/11/2024
1.5.3 76 11/8/2024
1.5.2 74 11/8/2024
1.5.1 80 11/2/2024
1.5.0 84 10/22/2024
1.4.9 85 10/21/2024
1.4.7 140 10/18/2024
1.4.6 92 10/7/2024
1.4.5 85 10/6/2024
1.4.4 149 8/30/2024
1.4.3 95 8/29/2024
1.4.2 100 8/29/2024
1.4.1 101 8/29/2024
1.4.0 165 8/23/2024
1.3.9 124 8/17/2024
1.3.8 112 8/17/2024
1.3.7 121 8/15/2024
1.3.6 118 8/14/2024
1.3.5 111 8/14/2024
1.3.4 108 8/12/2024
1.3.3 56 8/2/2024
1.3.2 53 8/2/2024
1.3.1 88 8/1/2024
1.3.0 92 7/29/2024
1.2.9 77 7/24/2024
1.2.8 74 7/11/2024
1.2.7 82 7/11/2024
1.2.6 71 7/11/2024
1.2.5 102 6/15/2024
1.2.4 103 5/16/2024
1.2.3 90 5/14/2024
1.2.2 78 5/13/2024
1.2.1 86 5/11/2024
1.2.0 80 5/8/2024
1.1.9 90 5/8/2024
1.1.8 243 12/1/2023
1.1.7 155 11/25/2023
1.1.6 154 11/20/2023
1.1.5 138 11/19/2023
1.1.4 143 11/13/2023
1.1.3 148 11/4/2023
1.1.2 116 10/31/2023
1.1.1 143 10/30/2023
1.1.0 143 10/27/2023
1.0.9 155 10/26/2023
1.0.8 158 10/22/2023
1.0.7 155 10/20/2023
1.0.6 143 10/19/2023
1.0.5 130 10/18/2023
1.0.4 160 10/17/2023
1.0.3 144 10/16/2023
1.0.2 131 10/16/2023
1.0.1 155 10/15/2023
1.0.0 149 10/14/2023

LobsterBoot核心类库