# web-community **Repository Path**: jiangsihan/web-community ## Basic Information - **Project Name**: web-community - **Description**: 图片社区交流网站,前端采用vue2+antd1等,后端使用express+MongoDB - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: https://jiangsihan.cn/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-15 - **Last Updated**: 2023-01-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue, Express, MongoDB ## README ## 图库社区网站 ### 前端技术栈 - Vue - ant design - vuex - axios - vue-router - webpack - nodejs - ES6 - npm - vue-lazyload - vue-photo-preview - Des - animate.css ### 后端技术栈 - Express - MongoDB - cookie-parser - cors - express-jwt - jsonwebtoken - mongoose - Des ### git 仓库 `https://gitee.com/ZiChen_Jiang/web-community.git` ### 项目文件说明 `web-view`:前端客户端项目 `web-admin`:前端管理端系统 `server`:后端服务项目 ### 运行打包 vue/cli版本 @4.0以上 node版本 @14.3以上 MongoDB版本 @4.0以上 #### 前端 ##### web-view /web-admin - 安装依赖包:npm i - 项目启动 ``` 开发环境:npm run serve 生产环境:npm run serve:pro ``` - 项目打包 ``` 生产环境:npm run build:pro ``` - 全局环境配置 ​ ` .env` 全局默认配置文件,无论什么环境都会加载合并。 ​ `.env.development` 开发环境的配置文件 ​ `.env.production` 生产环境的配置文件 #### 后端 ##### server - 安装依赖:npm i - 项目启动:npm start - 数据库启动:请win+R打开命令行输入 mongod --dbpath D:\前端必备\MongoDB\data\db D:\前端必备\MongoDB\data\db :为自己MongoDB安装地址 没有db目录请在data目录下新建db目录 ### 主要功能 待完善 手机号注册 密码登录 用户上传 后管审核 token验证 评论 留言 转发 点赞 信息发布 文件上传 拖拽上传 编辑器组件