Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zulqardotnet/pure-cpp-web-server
Pure C++ HTTP Web Server
https://github.com/zulqardotnet/pure-cpp-web-server
cpp css html http http-server javascript web web-server webserver
Last synced: about 15 hours ago
JSON representation
Pure C++ HTTP Web Server
- Host: GitHub
- URL: https://github.com/zulqardotnet/pure-cpp-web-server
- Owner: zulqarDOTnet
- License: gpl-3.0
- Created: 2024-07-15T10:04:17.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T19:24:29.000Z (6 months ago)
- Last Synced: 2024-11-11T18:08:51.830Z (2 months ago)
- Topics: cpp, css, html, http, http-server, javascript, web, web-server, webserver
- Language: C++
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Pure C++ HTTP Web Server
Fast, lightweight, pure C++ HTTP Web Server## Download
```bash
git clone https://github.com/zulqarDOTnet/pure-cpp-web-server.git
cd pure-cpp-web-server
```# Compile & Run
### Docker
```bash
docker compose build && docker compose up -d
```### Update Docker Container
```bash
docker compose build --no-cache && docker compose up -d --force-recreate
```### Removing Docker Container
```bash
docker stop pure-cpp-web-server
docker rm pure-cpp-web-server
```### Debian/Ubuntu and other derivatives
```bash
sudo apt-get install g++ build-essential nlohmann-json3-dev libboost-all-dev zlib1g-dev zstd brotli
sh build_run.sh
```## Configuration
Please check in the config [`config.json`](config.json) for configuration options or to enable or disable certain features or behaviors.
## License
[![Author](https://img.shields.io/static/v1?label=author&message=Zulqarnain%20Zafar&color=green)](https://zulqar.net)
[![License](https://img.shields.io/static/v1?label=v3.0&message=GNU%20GENERAL%20PUBLIC%20LICENSE%20&color=red)](LICENSE)