Feathers Auth requests can be verified in NodeJS with or without a framework.
A NodeJS server using the node:http module without any framework can be implemented as follows.
npm create feathersdev@latest server --platform nodejs --app-id "<your-app-id>"
Create an src/authenticate.ts file that validates an incoming request like this:
Then implement an HTTP handler with basic CORS CORS (necessary to allow requests from any src/app.ts like this:
The full NodeJS example server can be found here.
npm create feathersdev@latest server --platform express --app-id "<your-app-id>"
For Express we can add our own authenticate middleware to authenticate incoming requests in src/authenticate.ts:
And then implement an Express application in src/app.ts like this:
The full Express example server can be found here.
Copyright © 2012 - 2025 feathers.dev