Commit Graph

9 Commits

Author SHA1 Message Date
patwie 5ae64e7aca Make server listen address configurable via flags
To improve the flexibility and configurability of the server, add a
`listen` flag to specify the server's listen address. This replaces
the hardcoded `localhost:3002` string.

This change addresses the need for configuring the server address
dynamically, facilitating easier deployment and testing.

Resolves: #8
2024-06-10 09:20:00 +00:00
patwie 257e46d2c8 Add structured logging to documentStore methods
To troubleshoot reported issues, we add more debugging outputs in
the logging. This includes detailed, structured logs in the Create
and FindID methods to provide better traceability and debuggability.

These changes help diagnose issues by providing detailed context in
the logs, which should improve the ability to identify and resolve
problems.

See also: #9
2024-06-10 09:11:26 +00:00
patwie f1bedf8a0d Redirect to index.html
The new hot-patching does not handle "/" correctly. Here, we correctly
route to index.html.
2024-05-24 09:25:08 +00:00
patwie 0e8c968aa3 Add health endpoint
Hosting this behind an ALB/ELB requires a health check route.
2024-05-24 09:23:56 +00:00
patwie eea09906f4 Intercept calls to firebase API
Instead of calling any third-party or home, we provide the stub for
firebase API calls.
2024-04-14 13:29:39 +00:00
patwie 3893dfb13e Add excalidraw as submodule 2024-03-29 13:53:53 +00:00
patwie 31c8029402 Add different data providers and improve docs
This adds support for switching between in-memory, local filesystem, s3
or sqlite.
2024-03-29 13:10:54 +00:00
patwie 2dd1421b6e Add webUI into binary
To get the most simple deployment of excalidraw, the binary should ship
all components (webUI, socket.io, data storage).
2024-03-29 09:55:57 +00:00
patwie 36e3ecb5c7 Initial prototype 2024-03-28 23:57:33 +00:00