My personal boiler plate for zod-express-api with jwt, auth, docs generation.
To learn more about express-zod-api: https://www.npmjs.com/package/express-zod-api
Installing the dependencies
yarn install
Start the development server
yarn dev
To generate API - Specs
yarn generate:docs
To generate Client TS
yarn generate:client
# Get: /v1/auth/microsoft/login-url
Retrive microsoft_login_url
# Redirect to: /v1/auth/microsoft/callback
Redirect back to frontend (can be any url) with token in the query.