Base Url

/api

noonjs does not enforce a default base URL like /api, but you can define one using config.json if needed.

{
...
    "base": "/api/v1",
...
}

Environment variables

Alternatively, environment variables like BASE=/api achieve the same result. noonjs prioritizes environment variables over config.json.

Important

If the base Url changes, all collections and auth endpoints will also change.

Edit this page on Github
© 2025 kav3.com. Crafted with and dedication.