Skip to content
Jumana Almahmoud edited this page May 24, 2023 · 4 revisions

All NB routes are defined in this folder and added to the app in this file.

Important: NB uses Passport to check the user authentication, and to secure a route you can pass passport.authenticate('jwt', { session: false }) when adding the route into the app, similar to this example.

Clone this wiki locally