To compile the project, use the Makefile in the root directory. This will generate the following structure:
- The
bin/folder contains the compiled binary and a folder for object files (.o). - The
obj/folder mirrors thesrc/folder, containing the corresponding.ofiles.
To compile and run the project, simply use:
makeIf the port is already in use, set a custom port by declaring the PORT environment variable:
export PORT=9000The default port is 9000.
Comprehensive documentation is available in the docs folder. The documentation includes:
- Core Documentation - Beginner-friendly explanation of how the server works
- Visual Guide - Diagrams illustrating the server architecture
- Practical Examples - Code examples for extending the server
See the docs README for more information.