zhaoyiming0803/VueNode
Sobre
VueNode é um projeto que separa o front-end do back-end e usa TypeScript, Vue3.x, Node.js, MySQL e TypeORM.
Desenvolvimento web e de aplicativosO que você pode fazer
- Login、Regist、Modify password(100%)
- Personal page(100%)
- Update profile(100%)
- Home - list, global coupon(100%)
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- -1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalVueNode
The best way to learn is to read books and official documents, as well as open source codes in GitHub, and then write test demos.
English | 简体中文
VueNode is developed using Vue3 & Node.js, and the old version can refer to:
Replace Express with Koa.js
Vue upgrade guide from v2 to v3:
Initialize a demo using Vue official cli, confirm the latest package dependency version is, and then install the corresponding version of the dependencies in the current project.
Temporarily comment out the routes in
fe/src/router/routes.ts, add a new test page, and gradually migrate the original business code.Convert all components under
fe/src/componentsto Vue 3 syntax.Gradually migrate
fe/src/pages.Note: This project is purely a personal hobby and code testing.
Technology Stacks
FE:@vue/[email protected]、[email protected]、[email protected]、[email protected]、Less、ES6(7|8)、Webpack4、[email protected]
BE:Node.js(Koa.js)、MySQL、TypeORM、class-validator
Run project in local
Open directory
feandserver, view package.json, use npm can execute the corresponding script.
Production environment deployment
FE:refer to nginx.conf、Jenkinsfile、publish.sh under directory
fe.BE:refer to nginx.conf、pm2.json、Jenkinsfile、publish.sh under directory
server.
About SQL
Install MySQL database, create a new database named
tour, and then import all data (/server/tour.sql).The default password for users in the user table is 123456.
Features
- Login、Regist、Modify password(100%)
- Personal page(100%)
- Update profile(100%)
- Home(100%)
- Home - list, global coupon(100%)
- Show countries and regions list(100%)
- Banners, coupons belong to country or region(100%)
- Claim coupons(100%)
- Coupon detail(100%)
- Use coupon(100%)
- Publish coupon detail(100%)
- Star comment component(100%)
- Wechat sharing(100%)using nodejs:https://github.com/zhaoyiming0803/wechat-nodejs
Project GIF

Thanks
If it is helpful to you, you can click on the
StarorWatchin the upper right corner to support it. Thank you ^_^Alternatively, you can
followme and I will continue to open up more interesting projects.If you have any problems, please directly raise them in issues, or if you find problems and have excellent solutions, welcome PR 👍
My Wechat & QQ:1047832475

Reference material
- https://vuejs.org/
- https://router.vuejs.org/installation.html
- https://vuex.vuejs.org/guide/
- https://koajs.com/
- https://github.com/koajs/router/blob/master/API.md
- https://www.npmjs.com/package/koa-swagger-decorator
- https://typeorm.io/
- https://www.npmjs.com/package/class-validator
- https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html
- https://pm2.keymetrics.io/docs/usage/quick-start/
Explore projetos relacionados
Carregando…