VueNode is a project of front and backend separation that building on TypeScript + [email protected] + node.js + MySQL
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:
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/components
to Vue 3 syntax.
Gradually migrate fe/src/pages
.
Note: This project is purely a personal hobby and code testing.
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
Open directory fe
and server
, view package.json, use npm can execute the corresponding script.
FE:refer to nginx.conf、Jenkinsfile、publish.sh under directory fe
.
BE:refer to nginx.conf、pm2.json、Jenkinsfile、publish.sh under directory server
.
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.
If it is helpful to you, you can click on the Star
or Watch
in the upper right corner to support it. Thank you _
Alternatively, you can follow
me 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 👍