Skip to content

Commit

Permalink
feat: add health check
Browse files Browse the repository at this point in the history
  • Loading branch information
yamashita-kenngo committed May 3, 2024
1 parent 03a35f7 commit 682f80f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ app.get('/', (c) => {
return c.text('Hello Hono!')
})

app.get('/v1', (c) => {
return c.json({ message: 'API is working!' })
})

const port = 3000
console.log(`Server is running on port ${port}`)

Expand Down

0 comments on commit 682f80f

Please sign in to comment.