This project consists of two main folders:
- vue-frontend
- express-backend
To run the vue-frontend portion of the project, follow these steps:
- Enter the vue-frontend folder using the command 'cd vue-frontend'.
- Install the necessary modules by running the command 'npm install'.
- Run the program using the command 'npm run serve'.
To run the express-backend portion of the project, follow these steps:
- Enter the express-backend folder using the command 'cd express-backend'.
- Install the necessary modules by running the command 'npm install'.
- Run the program using the command 'npm run dev'.
2022.08 - 2022.11
项目内容:使用 Vue + Express.js + MongoDB 搭建手机电商系统前后端,实现前台的浏览、购买、评价商品,以及用户登录注册;后台的用户、商品、评价管理功能。
主要工作:
- 使用 Vue CLI 搭建模块化项目结构,集成 Element Plus 组件库、 Axios 请求库;
- 实现 Axios 拦截器权限校验,对系统登录状态进行控制,优化无效请求;
- 利用 Vue Router 路由实现不同角色的权限控制,限制访问不同内容。
link to mongoDB
C:\Users\Ashley\Documents\GitHub\VintageTechHub-Web-Application> npm run serve C:\Users\Ashley\Documents\GitHub\VintageTechHub-Web-Application\express-backend> npm run dev C:\Users\Ashley\Documents\GitHub\VintageTechHub-Web-Application\vue-frontend>
json: // "name": "-lab07-wed-group06",