{"repo":"jch254/serverless-node-dynamodb-api","free":true,"listed":false,"github":"https://github.com/jch254/serverless-node-dynamodb-api","clone":"git clone https://github.com/jch254/serverless-node-dynamodb-api.git","description":"API powered by Serverless, TypeScript, Webpack and DynamoDB, intended as a starting point for Serverless APIs","language":"HCL","stars":85,"topics":["serverless","dynamodb","nodejs","auth0","authentication","api","starter-kit","aws-lambda","aws","tyepscript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Serverless-node-dynamodb-api API powered by Serverless Framework, TypeScript, Webpack, Node.js and DynamoDB, intended as a starting point for Serverless APIs. Paired with the React/Redux UI. Auth0 handles authentication via Universal Login; the API authorizer verifies the RS256-signed ID token against Auth0's JWKS and rejects anything else. See Apiary for API structure - defined in apiary.apib. Runtime and stack - Node.js 22 ( .nvmrc , package.json engines, Dockerfile, Lambda nodejs22.x ) - pnpm 9.15.9 ( packageManager in package.json ) - Serverless Framework v4 (license key required, see deployment notes) - TypeScript 6, Webpack 5 - AWS SDK v3 ( @aws-sdk/client-dynamodb , @aws-sdk/lib-dynamodb ) - Auth0 RS256 ID-token validation via jsonwebtoken + jwks-rsa - Custom domain via API Gateway edge endpoint, ACM cert in us-east-1 , Cloudflare DNS - Local development with serverless-offline and serverless-dynamodb Auth model The API Gateway custom authorizer at src/index.ts verifies the bearer token with: - algorithms: ['RS256'] - issuer: https://${AUTH0 DOMAIN}/ - audience: ${AUTH0 CLIENT ID} - public key fetched from https://${AUTH0 DOMAIN}/.well-known/jwks.json (cached, rate-limited) The UI sends the Auth0-issued ID token ( getIdTokenClaims(). raw ) as Authorization: Bearer . The Auth0 application must be configured with JWT signing algorithm RS256 for this to work. AUTH0 DOMAIN and AUTH0 CLIENT ID are non-secret values, injected as plaintext env vars on the authorizer Lambda. -","default_branch":null,"files":null,"tree":[],"storefront":"/r/jch254","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jch254/serverless-node-dynamodb-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}