aboutsummarylogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authormotortruck12212024-01-21 14:03:39 +0000
committermotortruck12212024-01-21 14:03:39 +0000
commitee1104b906b6d42b130aad529140668bddb38993 (patch)
treefd4f5371a080e0023ec5be00e65f75ee38d644b4 /README.md
parent9a1051838ed97b62fac0a29b4aa0ad17b4e9eaea (diff)
downloadaur-ee1104b906b6d42b130aad529140668bddb38993.tar.gz
Update to 0.0.1
Diffstat (limited to 'README.md')
-rw-r--r--README.md68
1 files changed, 68 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 000000000000..43052b9ceb02
--- /dev/null
+++ b/README.md
@@ -0,0 +1,68 @@
+# Bare Server GO
+
+- This is a complete bare server written in GO that is compliant with the [TompHTTP Server Specifications](https://github.com/tomphttp/specifications)
+
+***NOTE: Unfinished*** *I skimmed the spec and wrote this only in a few hours. There are lots of unimplemented features and bugs. (and it's curtrently not very TOMP compatible)*
+## Usage
+
+### Prerequisites
+
+- [GO](https://golang.org/doc/install)
+
+### Installation
+
+- Clone this repository
+- To build run:
+```bash
+make all
+```
+- To run:
+```bash
+./bare-server-go start
+```
+
+### For more examples of usage see the [exaples](./examples) directory
+
+#### Docker
+
+- To build AND run:
+```bash
+make docker
+```
+
+- To JUST build:
+```bash
+make docker-build
+```
+
+- To JUST run:
+```bash
+make docker-run
+```
+
+#### Docker Compose
+
+- To build AND run:
+```bash
+make docker-compose
+```
+
+- To JUST build:
+```bash
+make docker-compose-build
+```
+
+- To JUST run:
+```bash
+make docker-compose-up
+```
+
+## Todo
+
+- [ ] V3 implementation
+- [ ] Websocket Support - Partial support
+- [x] CLI
+- [ ] Other ways of installing (AUR, Bash, etc.)
+- [ ] Other Ways of Handling Routes (net/http, gorilla/mux, etc.) CURRENTLY ONLY SUPPORTS: [chi](https://github.com/go-chi/chi)
+- [ ] Installable in your own project
+- [ ] Older versions of the spec