Code Monkey home page Code Monkey logo

workbench's Introduction

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

workbench's People

Contributors

nesteiner avatar

Watchers

 avatar

workbench's Issues

添加 webflux 和 kotlin coroutines 支持

这是 build.gradle.kts 的依赖项

dependencies {
	implementation("org.springframework.boot:spring-boot-starter-webflux")
	implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
	implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
	implementation("org.jetbrains.kotlin:kotlin-reflect")
	implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
	testImplementation("org.springframework.boot:spring-boot-starter-test")
	testImplementation("io.projectreactor:reactor-test")

	implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
	implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.7.3")
}

注意最后两个依赖

不过在此之前,有个 samba-demo 需要修改试试看

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.