Giter Club home page Giter Club logo

classmanager's Introduction

ClassManager

​ 看着服务器快到期了,就趁着这个时间把代码发了,留个脚印,还是单体项目,等我学完了分布式再写新的项目。

​ 上传个代码不小心把配置文件也上传了,真是糟心,看了下文档,还是修改密码最安全,想了想我还是选择粗暴的方式吧。自己买的服务器明天就到期了,密码嫌麻烦不改了直接把服务停了吧。

终于结束了这个项目罪恶的一生。整个项目都是自己写的,处于学习阶段难免会写出低质量代码,希望看到的朋友轻喷。现在来扯扯这个项目。估计也没啥人看,留个纪念给以后的自己看看。


实现了哪些功能?

文章部分

  1. 登录 image-20221009164005294

  2. 发布文章(MarkDown,需要登录) image-20221009164059977

  3. 点赞、收藏文章

  4. 个人中心可以查看自己写的、收藏的文章 image-20221009164139501

班级部分

  1. 发布作业(本来应该自动判定用户有无权限发布作业的,后端接口倒是不难写,但是前端代码我真是不想多写了,就草草了事) image-20221009164225964

  2. 提交作业(后端自动按用户信息命名,这个也是每次收作业经常出问题的地方) image-20221009164306130

  3. 提交记录(下载已经提交过的作业) image-20221009164451748

  4. 班级管理员可以打包作业(这个因为服务器处理需要时间,所以向线程池提交任务后,就直接先返回啦,下面代码已经省略处理逻辑)

        Thread t1 = new Thread(() -> {});
        pool.execute(t1);
        return R.success("服务器已收到打包请求,请稍后查看打包记录");
  1. 查看打包记录(第4步完成以后,就可以在打包记录下载已经打包好的zip文件)

关于技术选型

Spring boot + Redis + Mysql +Minio

真要说有啥比较不常见的,那就只有这个Minio,本来说用来存存作业图片这类的小文件,听说FastDfs挺有名的,可惜一上来就被这玩意儿的部署搞懵了,还是这个Minio用起来比较简单。

写在最后

本来还想写好多功能,比如管理页面啊,嗯,关于页面也还是空的。

原来是想着要写一个完善的系统,可以让我自己谢谢博客,也可以让同学们在这里交作业,就不用每天为了一个文件的命名烦同学,也可以让我的QQ干净一点,让我的工作量少一点,可惜太耗时间了,收益太小,写的都是一些CURD,还是看点书,写写代码学点别的吧。虽然说功能都差不多好了,但我还是不想把这个平台让同学用,怕会出啥bug,搞得大家都不开心。


就这样吧,以后看看会不会有哪天突然想起来有这么一个项目,回来完善一下

classmanager's People

Contributors

vzjkg123 avatar

Stargazers

Sauce avatar

Watchers

 avatar

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.