https://github.com/szykol/potato
A simple http server 🥔
https://github.com/szykol/potato
cmake cpp googletest http server
Last synced: 11 months ago
JSON representation
A simple http server 🥔
- Host: GitHub
- URL: https://github.com/szykol/potato
- Owner: szykol
- License: mit
- Created: 2019-09-29T09:21:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T23:21:28.000Z (over 2 years ago)
- Last Synced: 2025-01-17T02:13:07.212Z (about 1 year ago)
- Topics: cmake, cpp, googletest, http, server
- Language: C++
- Size: 92.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Potato
A simple http server 🥔
## How to build
This project uses CMake to build. Run build.sh to build Potato:
```
./build.sh
# Build with debug flag. This enables debugging symbols
./build.sh debug
```
## Run Potato
After sucessful build simply run the binary file:
```
build/potato
```
## Run tests
To run gtests:
```
build/test/Test
```
To run python EndToEnd tests:
```
python -m pip install pytest requests
py.test test/EndToEnd/EndToEndTest.py
```