REST API built with NestJS. It provides a boilerplate for custom Node.js authentication using Passport.js. It has Google and Local strategies implemented. Main version is based on server sessions with cookies using PostgreSQL as a session store
Note: This Code base is meant to be used as a template for other projects.
Curl the live example deployed on Railway
curl https://auth-app-nestjs-production.up.railway.app/
You will get the following if it is currently online and succeeds:
{ "statusCode": 404, "message": "Cannot GET /", "error": "Not Found" }
I built a Angular SPA that consumes it. Check out its repository here.