Improve relay draft

This commit brings a compilable, runnable relay draft, with logging
setup, basic README instructions, Mutex protection around shared
resources, implemented with code safety in mind

Notes:
- This is not fully tested
- The mutex design is not the most efficient, and could cause some contention on high traffic
- The REST API is not yet integrated
This commit is contained in:
Daniel D’Aquino
2024-07-16 11:00:36 -07:00
parent e11c636ce3
commit c0cded7255
11 changed files with 674 additions and 185 deletions

3
.gitignore vendored
View File

@ -2,8 +2,9 @@ target/
.direnv/
.buildcmd
.build-result
shell.nix
.envrc
tags
.env
.DS_Store
*.p8
apns_notifications.db