Skip to content

Background management system of my blog,React + TypeScript + Redux

Notifications You must be signed in to change notification settings

jobsofferings/myBlogBackstage

Repository files navigation

我的博客后台管理

中文

  这是 jobsofferings 做的一个React+Ts+Redux的后台管理项目。暂时未完成,希望通过我的commit能够将此项目补全。该项目已有JS版本,但是希望通过这次的补全,能将TS与React+Redux、请求结合起来,谢谢。

使用方法

npm install 下载依赖包

cd my-app 进入项目目录

npm run start 运行项目

打开浏览器访问http://localhost:3000/

中文更新日志
  • 2020-4-12 第一次更新

  做好了All、LeftPage、rightPage等部分功能,初步将TS与Redux、React结合起来。

  • 2020-4-18 第一次更新

  新加了antd库,版本4.0.1。
  新使用了echarts库,版本4.7.0。
  新使用echarts更新了两个表格,新使用了antd初始化一个表格,暂时未做数据传输,接下来若干的版本会完善数据请求,在Redux的defaultState中将保存默认数据作为请求数据。

  • 2020-4-20 第一次更新

  新加了redux-thunk库,版本2.3.0。
  重新变更了reducer与store,使其交互更遵从redux原则。
  注意!此次是一次大变动!修改了大量内部逻辑,请使用第三版本,前两个版本为舍弃版本。
  在Redux的defaultState中将保存默认数据作为请求数据。若希望自己进行请求,请在api.js与package.json中修改请求路径。
  后面的版本会加入react-router以及部分代码完善。

  • 2020-4-21 第一次更新

  整理了一部分代码储存位置,及类型接口

  • 2020-4-22 第一次更新

  避免了一个Declaration of private instance field not allowed after declaration of private instance method. Instead, this should come at the beginning of the class/interface的BUG

  • 2020-4-26 第一次更新

  已入职,可能更新频率会减缓,望体谅~
  新更新一个表,已在Redux的defaultState中将保存默认数据作为请求数据,若报错请注释掉请求语句
  pages/All/All.tsx 中的componentDidMount函数中
  修改了部分类型

  • 2020-4-26 第二次更新

  再次新更新一个表,但是未在Redux的defaultState中将保存默认数据作为请求数据,若报错请注释掉请求语句
  修改了部分类型

English

  This is a background management project of React + Ts + Redux made by jobsofferings. Not completed yet, I hope to complete this project through my commit. The project already has a JS version, but I hope that through this completion, I can combine TS with React + Redux and requests, thank you.

How to use ?

npm install Download dependencies

cd my-app Enter the project directory

npm run start Run the project

Open browser access http://localhost:3000/

English update logs
  • 2020-4-12 First update

  Completed some functions such as All, LeftPage, rightPage, etc., and initially combined TS with Redux and React.

  • 2020-4-18 First update

  new antd library, version 4.0.1.
  new echarts library, version 4.7.0.
  The new use of echarts updated two tables, the new use of antd initialization of a table, temporarily not for the data transfer, the next few versions will refine the data request, in Redux Statedefault will save the default data as the request data.

  • 2020-4-20 First update

  Newly added redux-thunk library, version 2.3.0.
  Changed the reducer and store again to make their interaction more in line with the redux principle.
  note! This is a big change! A lot of internal logic has been modified, please use the third version, the first two versions are discarded versions.
  The default data will be saved as request data in Redux's defaultState. If you want to make your own request, please modify the request path in api.js and package.json.
  Later versions will add react-router and some code improvements.

  • 2020-4-21 First update

  Organized some code storage locations and type interfaces

  • 2020-4-22 First update

  Avoided a BUG of Declaration of private instance field not allowed after declaration of private instance method. Instead, this should come at the beginning of the class / interface

  • 2020-4-26 First update

  Have joined the job, the update frequency may be slowed down, hope to understand ~
  A new table has been updated. The default data has been saved in Redux's defaultState as request data. If an error is reported, please comment out the request statement
  In the componentDidMount function in pages / All / All.tsx
  Modified some types

  • 2020-4-26 Second update

  A new table is updated again, but the default data is not saved in Redux's defaultState as request data. If an error is reported, please comment out the request statement
  Modified some types

About

Background management system of my blog,React + TypeScript + Redux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published