The myBlog application is developed using Angular7 + KOA2 +mysql
purpose
The main purpose of koA2 development is to familiarize yourself with the TS and JS transformation syntax
The main function
- Home page
- Personal information
- New blog
- View the blogs
Unfinished function
- Label management
Profile picture uploading function(Completed)- Global search
- Notice of concerns and comments
- The number of likes, the number of articles viewed, the number of concerns, etc
- …
The key code
Public plug-ins introduced:
- The puppy plug-in
- Panel female connector
- editor.md
- Label block random color
Main Functions of home page:
- Obtain login user information (if not logged in, the default is tourist)
- Get the latest list of articles (top 5)
- Get tag list
- Get a list of all articles (10 at a time, click Load more to get next page data)
- The login
- Personal Information (View and edit)
Add a blog
- Label selection (enter labels that can be added or not)
- MarkDown format blog writing
Blog for
- Parses MarkDown formatted articles
- The load directory
- Load the comments
- Thumb up information
Source address github.com/llzzii/myBl…
Writing for the first time, please give me more advice!