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
  1. Home page
  2. Personal information
  3. New blog
  4. View the blogs
Unfinished function
  1. Label management
  2. Profile picture uploading function(Completed)
  3. Global search
  4. Notice of concerns and comments
  5. 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:
  1. Obtain login user information (if not logged in, the default is tourist)
  2. Get the latest list of articles (top 5)
  3. Get tag list
  4. Get a list of all articles (10 at a time, click Load more to get next page data)
  5. The login
  6. 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!