blog-react:基于typescript koa2 react的个人博客

时间:2021-02-05 16:19:43
【文件属性】:
文件名称:blog-react:基于typescript koa2 react的个人博客
文件大小:140KB
文件格式:ZIP
更新时间:2021-02-05 16:19:43
react redux blog typescript redux-saga 苹果的个人博客 动机 一直想学习下typescript的,趁着业余时间,于是就写了这个博客0.0 技术栈 前一级都基于typescript3.0,使用tslint规范代码 最初使用koa2提供一个简易的http服务器,并将所有路由定位到入口router / index.ts处理。使用react-router分配接口,引入API采用类似Restful风格的接口,数据库是MongoDB ,,权限控制采用jwt token的方式。目前只有两种权限,游客只有浏览的权限,管理员可以增删改查文章 博客和管理端基于react框架,使用redux和redux-saga统一处理数据,react-router提供
【文件预览】:
blog-react-master
----public()
--------manifest.json(317B)
--------index.html(2KB)
--------favicon.ico(4KB)
----config-overrides.js(709B)
----yarn.lock(297KB)
----images.d.ts(189B)
----src()
--------router()
--------constants()
--------common()
--------services()
--------index.tsx(754B)
--------index.less(941B)
--------saga()
--------containers()
--------theme()
--------components()
--------types()
--------actions()
--------reducers()
----tsconfig.test.json(87B)
----.idea()
--------jsLinters()
--------misc.xml(174B)
--------workspace.xml(50KB)
--------encodings.xml(346B)
--------inspectionProfiles()
--------modules.xml(272B)
--------typescript-compiler.xml(253B)
--------blog-react.iml(458B)
--------vcs.xml(180B)
----tsconfig.json(681B)
----tslint.json(253B)
----README.md(3KB)
----tsconfig.prod.json(34B)
----.gitignore(306B)
----.prettierrc.js(84B)
----_config.yml(26B)
----package.json(1KB)

网友评论