diff options
| author | wikiapiserver | 2026-06-25 12:22:58 +0200 |
|---|---|---|
| committer | wikiapiserver | 2026-06-25 12:23:11 +0200 |
| commit | 6667426e24bba82ade4702cb8f85849bebec6077 (patch) | |
| tree | 66b3bce3db743d753067b5a5c65479131ae57007 /.gitignore | |
| download | wikiapiserver-6667426e24bba82ade4702cb8f85849bebec6077.tar.gz | |
feat: initial wiki API server with account management
- HTTP API with JSON over configurable port (default 8080)
- Endpoints: POST /register, POST /login, POST /refresh, GET /health
- MariaDB storage with SHA-256 hashed credentials and tokens
- Token rotation on login and refresh
- Config loaded from config.json (not tracked in git)
- Graceful shutdown on SIGINT/SIGTERM
- Connection pool (25 max open, 10 idle, 5min max lifetime)
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..70367ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +# Build output +*.exe +*.exe~ +*.test +*.out + +# Dependencies +!vendor/ + +# IDE +.idea/ +.vscode/ +*.swp +*.swo + +# OS +.DS_Store +Thumbs.db +# Config (contains secrets) +config.json +database_password |
