Skip to content

accelerator-feng/AccBlogServer

Repository files navigation

egg + mongodb

QuickStart

如需进一步了解,参见 egg 文档

Build Setup

$ npm install
$ npm run dev

api

注册
GET /api/user
POST /api/user  

登录
GET /api/session/loginStatus
POST /api/session
DELETE /api/session   

评论
GET /api/comment/:id
POST /api/comment  

设置/更改头像
POST /api/avatar

首页
GET /api/index  

文章
GET /api/article/:id
GET /api/article/page/:id  

归档
GET /api/archives
GET /api/archives/:year
GET /api/archives/:year/:month  

分类
GET /api/categories/:category

Markdown

About

用React+antd+Koa+MongoDB搭建的单页博客(后端)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published