Step 8 - Hit routes via postman
Course: Blogging website - chapter 8
Bindings
Section titled “Bindings”https://hono.dev/getting-started/cloudflare-workers#bindings

In our case, we need 2 env variables -
Section titled “In our case, we need 2 env variables -”JWT_SECRET
DATABASE_URL

Variables
Section titled “Variables”https://hono.dev/api/context#var
If you wan’t to get and set values on the context of the request, you can use c.get and c.set

You need to make typescript aware of the variables that you will be setting on the context.

💡 You can also create a middleware that sets
prismain the context so you don’t need to initialise it in the function body again and again