Lobster.Boot
1.1.3
See the version list below for details.
dotnet add package Lobster.Boot --version 1.1.3
NuGet\Install-Package Lobster.Boot -Version 1.1.3
<PackageReference Include="Lobster.Boot" Version="1.1.3" />
paket add Lobster.Boot --version 1.1.3
#r "nuget: Lobster.Boot, 1.1.3"
// Install Lobster.Boot as a Cake Addin #addin nuget:?package=Lobster.Boot&version=1.1.3 // Install Lobster.Boot as a Cake Tool #tool nuget:?package=Lobster.Boot&version=1.1.3
LobsterBoot
介绍
LobsterBoot是一种新的应用系统开发方式,在线开发前端、后端代码,无需在本地搭建开发环境、安装开发IDE工具,通过浏览器就可以进行开发、调试。主要开发语言采用Typescript,整合了Gitee平台进行代码自动托管,服务部署在Docker。 LobsterBoot是一个开源底层开发框架,类似SpringBoot框架。
以下系统采用LobsterBoot框架进行开发:
- LobsterWebIDE(在线代码编辑器)
- LobsterAdmin(后台管理系统)
- 小苹果互联网医疗健康平台
文档地址:https://kakake.gitee.io/lobsterboot/#/
软件架构
<br>
快速使用
方式一,拉取LobsterBoot Docker镜像进行部署使用
- 在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
- 打开
http://localhost:7777/bootconfig.html
,进行应用配置,默认登录密码Lobster@123456
- 在Gitee网站上进行配置后,编写应用代码
方式二,在netcore项目中引用lobsterboot类库
- 引用Lobster.Boot.dll类库
<PackageReference Include="Lobster.Boot" Version="1.0.0" />
- 创建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"
}
]
}
- 修改Program.cs
builder.Services.AddLobsterBoot(builder.Configuration, logger);
app.UseLobsterBoot(app.Environment, app.Configuration);
- 修改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"
}
}
功能演示图
- 应用配置
配置地址:http://localhost:7777/bootconfig.html
<br>
- 应用预览
预览地址:http://localhost:7777/apppreview.html
<br>
- 在Gitee上编写代码
模板应用的代码仓库地址:https://gitee.com/kakake/lobsterboot-3052-books
<br>
- 调试接口
第一步:在浏览器输入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代码
<br>
LobsterBoot在线体验
演示地址:http://www.mcloudsoft.cn:7777/bootconfig.html
登录密码:Lobster@123456
文档地址:https://kakake.gitee.io/lobsterboot/#/
<br> <br>
LobsterWebIDE(在线代码编辑器)【未开源】
演示地址:http://www.mcloudsoft.cn:7774/webide/appcode.html
登录密码:Lobster@123456
<br>
LobsterAdmin(后台管理系统)在线体验【未开源】
登录地址:http://www.mcloudsoft.cn:7773/admin/login/Index.html
超级管理员:kakake/Aa123456
机构管理员:zenghao/Aa123456
开发者:lobster/Aa123456
<br> <br> <br> <br>
小苹果互联网医疗健康平台在线体验【未开源】
登录地址:http://www.mcloudsoft.cn:7773/admin/login/Index.html
登录账号:zsadmin/Aa123456
<br>
Product | Versions 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. |
-
net6.0
- Aliyun.OSS.SDK.NetCore (>= 2.13.0)
- CSRedisCore (>= 3.8.671)
- Dapper (>= 2.1.4)
- Dapper.Contrib (>= 2.0.78)
- Hei.Captcha (>= 0.3.0)
- Microsoft.AspNetCore.Authentication (>= 2.2.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 6.0.23)
- Microsoft.AspNetCore.Mvc (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 6.0.22)
- Microsoft.AspNetCore.Mvc.Versioning (>= 5.1.0)
- Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer (>= 5.1.0)
- Microsoft.ClearScript.Core (>= 7.4.4)
- Microsoft.ClearScript.osx-x64 (>= 7.4.4)
- Microsoft.ClearScript.V8 (>= 7.4.4)
- Microsoft.ClearScript.V8.Native.linux-x64 (>= 7.4.4)
- Microsoft.ClearScript.V8.Native.win-x64 (>= 7.4.4)
- Microsoft.Extensions.Caching.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Microsoft.IdentityModel.Tokens (>= 7.0.2)
- MySql.Data (>= 8.1.0)
- NLog (>= 5.2.4)
- NodaTime (>= 2.4.5)
- qcloud.qcloudsms_csharp (>= 0.1.6)
- RestSharp (>= 110.2.0)
- System.Data.SqlClient (>= 4.8.5)
- System.Drawing.Common (>= 7.0.0)
- System.IdentityModel.Tokens.Jwt (>= 7.0.2)
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.4 | 42 | 11/11/2024 |
1.5.3 | 40 | 11/8/2024 |
1.5.2 | 36 | 11/8/2024 |
1.5.1 | 73 | 11/2/2024 |
1.5.0 | 79 | 10/22/2024 |
1.4.9 | 80 | 10/21/2024 |
1.4.7 | 135 | 10/18/2024 |
1.4.6 | 88 | 10/7/2024 |
1.4.5 | 81 | 10/6/2024 |
1.4.4 | 147 | 8/30/2024 |
1.4.3 | 93 | 8/29/2024 |
1.4.2 | 98 | 8/29/2024 |
1.4.1 | 99 | 8/29/2024 |
1.4.0 | 163 | 8/23/2024 |
1.3.9 | 122 | 8/17/2024 |
1.3.8 | 110 | 8/17/2024 |
1.3.7 | 119 | 8/15/2024 |
1.3.6 | 116 | 8/14/2024 |
1.3.5 | 109 | 8/14/2024 |
1.3.4 | 106 | 8/12/2024 |
1.3.3 | 54 | 8/2/2024 |
1.3.2 | 51 | 8/2/2024 |
1.3.1 | 86 | 8/1/2024 |
1.3.0 | 90 | 7/29/2024 |
1.2.9 | 75 | 7/24/2024 |
1.2.8 | 72 | 7/11/2024 |
1.2.7 | 80 | 7/11/2024 |
1.2.6 | 69 | 7/11/2024 |
1.2.5 | 100 | 6/15/2024 |
1.2.4 | 101 | 5/16/2024 |
1.2.3 | 88 | 5/14/2024 |
1.2.2 | 76 | 5/13/2024 |
1.2.1 | 84 | 5/11/2024 |
1.2.0 | 78 | 5/8/2024 |
1.1.9 | 88 | 5/8/2024 |
1.1.8 | 241 | 12/1/2023 |
1.1.7 | 153 | 11/25/2023 |
1.1.6 | 152 | 11/20/2023 |
1.1.5 | 136 | 11/19/2023 |
1.1.4 | 141 | 11/13/2023 |
1.1.3 | 146 | 11/4/2023 |
1.1.2 | 114 | 10/31/2023 |
1.1.1 | 141 | 10/30/2023 |
1.1.0 | 141 | 10/27/2023 |
1.0.9 | 153 | 10/26/2023 |
1.0.8 | 156 | 10/22/2023 |
1.0.7 | 151 | 10/20/2023 |
1.0.6 | 141 | 10/19/2023 |
1.0.5 | 128 | 10/18/2023 |
1.0.4 | 158 | 10/17/2023 |
1.0.3 | 142 | 10/16/2023 |
1.0.2 | 129 | 10/16/2023 |
1.0.1 | 153 | 10/15/2023 |
1.0.0 | 147 | 10/14/2023 |
LobsterBoot核心类库