Skip to content

Commit 6e216ce

Browse files
committed
feat: added healthcheck to api
1 parent 3fcf89f commit 6e216ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/server/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ app.use(
5656
// Mount PowerSync routes
5757
app.route("/webhooks/stripe", stripeWebhook);
5858

59+
app.get("/health", (c) =>
60+
c.json({ status: "Healthy! What are you doing here?" }),
61+
);
62+
5963
const port = process.env.PORT ?? 3000;
6064

6165
if (env.NGROK_ENABLED) {

0 commit comments

Comments
 (0)