Skip to content

[Developing] 基于 Flutter 和 Kotlin Springboot 的跨平台协作工作台

License

Notifications You must be signed in to change notification settings

nesteiner/Workbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README of Workbench

Introduction

这个项目是个人拿来玩的,由于个人要用到多种学习工具,比如番茄钟啊,待办清单呐,习惯打卡啊, 这些东西都只是一个单一的功能,没有软件将他们集成在一起,搞得我每次都要不停的切换页面,因此我需要一个一站式工作台来解决这个痛点 而有时候我不在电脑前操作,需要在手机上布置任务,从而又有了适配多个平台的需求 市面上有一个类似的应用,叫滴答清单,可惜这玩意要钱,秉承着能白嫖就绝不充钱的原则,我就闲得蛋疼开发出了这么一款应用,顺带作为我的毕业设计,历时三个月的开发终于开发完了,或许吧

话不多说,这里以linux平台的应用为例,看看怎么操作把

第一次进入应用

default.mp4

主页

default.mp4

待办清单

todolist.mp4

习惯打卡

daily-attendance.mp4

samba 文件共享

samba.mp4

其他操作

需要登出了,就点击侧边的登出按扭 需要重置服务器设置,就点击X按扭,重新进入第一次加载的页面

其他

这个应用还不能进入生产模式,我还在改 bug,可能需要重构前端代码和后端代码,也有可能换到 Ktor 架构

Install

backend

Requirement

Openjdk-17

Build

如果是第一次加载应用,你可以在 app/src/main/resource/application.yaml 中配置 app.initializetrue 否则e设置为 false ,这个选项是为了初始化数据而设置的 在 backend 目录下,运行以下命令

./gradlew :bootJar

Run

java -jar build/libs/workbench-0.0.1-SNAPSHOT.jar

frontend

Requiremenet

  • Flutter 最新版本
  • Rust stable 最新版本

Build

在 frontend 目录下

为安卓手机构建应用

flutter build apk --release

在 Linux 平台下

flutter build linux --release

build/linux/x64/release/bundle 目录提取出来,创建如下 Desktop 文件到 ~/.local/share/applications/

[Desktop Entry]
Name=Workbench frontend
Exec=/path/to/release/bundle/frontend
Terminal=false
Type=Application
Icon=这个自己设置路径
Comment=The all-in-one workbench for pomodoro, todolist, daily-attendance and so on
Categories=Office;Utility;

在 Windows 平台下

flutter build windows --release

缺陷

  • 并发需求
  • 没有同步机制

下一步

Sidebar navigator

  1. use controller

GoRouter

new Feature

  • [ ] drop login
  • [ ] drop register
  • [ ] drop jwt token

About

[Developing] 基于 Flutter 和 Kotlin Springboot 的跨平台协作工作台

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published