Project name:

(I am a vegetable chicken, everyone light spray, the first article)

Technology is introduced

Vue family bucket Axios UI: ElementUI Background: KOA2 mysql Session

The configuration file

I put the config files in the root directory of the config folder, there are SQL data and nginx configuration files

Project introduction

In the first pseudo-full stack project, the background provides the adding, deleting, modifying and checking of articles. The administrator’s session login state is returned to the foreground, and the foreground obtains data by requesting the corresponding interface

This project is more suitable for want to understand the front-end of Node to do, although not learn what advanced technology, but technology is a logical thinking understanding, through this project, you can have a general framework of the background in mind, at least I am, this is my first project to learn KOA2, is touch the door of Node. This project can be used as a stepping stone.

Project faults

I didn’t write the log file part, I’m too lazy to write it, you can add it if you want

Project page

Article list New edit article details

Pay attention to

Nginx is also required to run locally, otherwise there will be cross-domain problems

Gitee address

https://gitee.com/lisensen/loser_blogs.git
Copy the code

Blogs_client (Foreground code)

Install dependencies

    npm install
Copy the code

run

    npm run serve
Copy the code

packaging

    npm run build
Copy the code

Blogs_server (Backend code)

Install dependencies

    npm install
Copy the code

run

    npm run prd
Copy the code

[li six wooden blog] (blogs. Lisensen. VIP/” click to “) {: target = “_blank”}

Thank you for your support. Like-minded friends can add me. VX: LiSensen_