Blog project (1)

C++-based blog system

Important knowledge points

  1. Simple web server design capabilities
  2. C/C++ operation MySQL database
  3. Database Design
  4. Restful style API
  5. The use of json and jsoncpp
  6. Strengthen the understanding of HTTP protocol
  7. The use and principle of cpp-httplib
  8. Regular expression
  9. Use of Postman tools
  10. Use of boost
  11. Front-end page development methods and skills (free template + bootstrap + Vue.js)
  12. Use Editor.md Markdown editor
  13. The basic ideas and methods of software testing

Overall structure:

Blog server

  1. Ability to add, delete, modify and check the management of blogs
  2. Ability to add, delete, check and modify tags

Blog client

  1. Title list page
  2. Blog content display page
  3. Blog management page
  4. Blog content edit page

About data storage and interaction

  1. The server stores data in markdown format
  2. The front-end submits the markdown document content to the server through the editor.md tool, or parses the markdown returned by the server as the front-end page content.

Start designing the blog system:

One, database design
CentOS 7 install MariaDB
database installation and configuration through yum !
Reference: https://zhuanlan.zhihu.com/p/49046496
2. Create a blog information table + tag table
{ add insert delete delete change update check select }





Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/WEIYANGBIN/article/details/113285061