blob: a345f4228fbcda75fdf87ec1352e676c0431e835 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Beaker
Beaker is a lightweight web framework written in C, designed for building simple and efficient web applications. It currently provides handling HTTP requests, routing, serving static files, rendering HTML templates and managing cookies.
## Usage
Look at the files in examples for usage
## Installation
```bash
$ git clone https://git.bwaaa.monster/beaker
$ cd beaker
# make install
```
On macOS the default install prefix is `/usr/local/`, because `/usr/lib` is protected by System Integrity Protection.
The install step produces `libbeaker.dylib` and removes any stale `libbeaker.so` from older installs.
You can always override the destination:
```bash
$ make install INSTALL_PREFIX=/some/prefix/
```
## Roadmap
- Handle different types of POST requests
- Write documentation
- Add more robust logging
- Write more examples
|