This repository is based on the original version of tinywebserver by qinguoyi and includes bug fixes for some issues.
Reference Link: https://github.com/qinguoyi/TinyWebServer.git Here are the steps to run the code:
- edit your mysql user, passowrd and database in the main.cpp
- set the IP address of the server using the SetIP API in the main.cpp
- input "make server" in your command
- input "./server port(eg.9999)" in your command
- nnce the setup is successful, you can proceed with testing the related functionalities.
tips:
- I have added comments in Chinese at some important positions in the code(for me). If you have any questions, please contact me.
- I will upload my project notes gradually.