Vue+Express+Mongoose simple blog site stepping record (1)

The purpose of writing this article

In the study of front-end knowledge, in order to consolidate knowledge, according to some online courses and video methods, a very rough blog site was built from scratch. The purpose of writing this article is mainly to record the steps taken during the learning process. Some pits are also some records. After all, it's the first function I wrote and barely counted as a complete project (laughs). I hope the big guys who read this article squirt.
/(ㄒoㄒ)/~~

1. Project technical choice

The project selected:
1. The front-end uses the Vue framework
2. The back- end development uses the Express framework
3. The data storage uses the MongoDB database

2. Initialization of the project

Use vue scaffolding to create front-end folders, and third-party modules express, mongoose, etc. need to be installed when creating the background. I won't go into details here. The project directory after creation is as shown below

Project directory explanation

Three. The next thing

The next series of articles recorded the pits that I stepped on during the project, as well as some of the solutions I summarized myself, and recorded them so that I can avoid stepping on the pits when I encounter them later.

Guess you like

Origin blog.csdn.net/anothercx/article/details/113109317