Skip to content Skip to sidebar Skip to footer

Pocketbase 0.17.0: Extend with JavaScript by nedp

JavaScript engine The prebuilt PocketBase v0.17+ executable comes with embedded ES5 JavaScript engine (goja) which enables you to write custom server-side code using plain JavaScript. You can start by creating *.pb.js file(s) inside a pb_hooks directory. routerAdd(“GET”, “/hello/:name”, (c) => { let name = c.pathParam(“name”) return c.json(200, { “message”: “Hello ” + name }) })

Read more

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.