https://github.com/mangotsing/nestjsforblogserver
nestjs构建的博客服务端,crud数据,mongodb...
https://github.com/mangotsing/nestjsforblogserver
Last synced: about 1 year ago
JSON representation
nestjs构建的博客服务端,crud数据,mongodb...
- Host: GitHub
- URL: https://github.com/mangotsing/nestjsforblogserver
- Owner: MangoTsing
- Created: 2019-12-13T08:41:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T02:37:45.000Z (over 3 years ago)
- Last Synced: 2025-03-29T19:11:21.077Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://www.sxyle.com
- Size: 31.8 MB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 49
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 首要Todo
目前前后端分离,开发中通过proxy本地代理到服务端端口,之后会把nuxt前端打包成静态化页面放在服务端中,或使用nginx转发服务。
### Todo
* [x] 设计blog库,建立user,blog,myblogtxt等tables
* [x] 连接mongodb,schemas
* [x] 增加拦截器,处理数据格式
* [x] 需要增加blog详情页接口
* [x] 创建博客的前端管理页面
* [x] 👍点赞,接口
* [x] 对豆瓣api请求数据,转发到页面
* [x] 需要标签选择接口,增加标签系统
* [ ] 管理页面还应有对文章的编辑修改,目前仅能创建
* [ ] 增加过滤器,处理数据错误统一格式
* [ ] 回复数接口(优先接入评论)
* [x] 写文章增加时间戳,(作者,分类,时间,阅读时间,点击量,后三个自动生成)
## 目前用到的技术
* [x] nest.js + typescript
* [x] vue + axios + iview + nuxt.js -> ssr
## 目前数据库的格式
- myblogtxt
精益求精
## Installation
```bash
$ npm install
```
## Running the app
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```