# technology_sharing_website **Repository Path**: stLeslie/technology_sharing_website ## Basic Information - **Project Name**: technology_sharing_website - **Description**: 一个基于egg的后台系统 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-29 - **Last Updated**: 2023-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 技术分享站后台API ## QuickStart ### Development ```bash $ npm i $ npm run dev $ open http://localhost:7001/ ``` ### Deploy ```bash $ npm run tsc $ npm start ``` ### Npm Scripts - Use `npm run lint` to check code style - Use `npm test` to run unit test - se `npm run clean` to clean compiled js at development mode once ### Requirement - Node.js 8.x - Typescript 2.8+ ### 上传业务参数 article - 文章内容图片 preview - 文章图片预览 ### 业务功能 > 1. 用户管理模块 1.1 获取用户列表 [完成] 1.2 添加用户 [完成] 1.3 修改用户 [完成] 1.4 用户登录(后台) [完成] 1.5 批量用户操作 [未完成] 1.6 用户登录(前台)[单用户登录] [未完成] 1.7 用户注销 > 1. 主内容模块 2.1 内容发布 2.2 资源标签化 2.3 获取指定内容 2.4 获取指定标签内容 2.5 用户资源下载阅览埋点 > 1. 爬虫与反爬虫模块 3.1 混淆页面元素 3.2 ip检测 > 1. 定时任务模块 4.1 文章定时更新 > 1. 用户通知模块 5.1 邮箱推送定时 5.2 活动发布推送 5.3 > 1. 运维部署信息 > 2. 公共模块 > 3. 淘宝客模块 > ### 部署说明 ##### 1. web部署事项 > 1. 运行 yarn start // 自动开启守护进程 > 2. 调用admin/initBackLogin接口初始化管理员 ##### 2. redis重启 > /etc/init.d/redis-server stop > > /etc/init.d/redis-server start > > /etc/init.d/redis-server restart ##### 3. nginx操作 > find / -name nginx.conf 查找nginx配置路径 > nginx -s reload 重新载入nginx配置,自动进行重启