Tag: Node.js
Main Content
Build a Jamstack Form with Serverless Functions and a Stateless CSRF Token
Request a csrf token and post form data with the Fetch API using Azure Serverless functions to generate and verify a stateless csrf token and save form data.
Render EJS File with Node.js
Generate an HTML file using Node.js, Typescript, and npm package.json scripts to render an EJS template file.
Build a Serverless Comment System for a Jamstack Blog
Use the GitHub REST API, Azure Serverless Functions, and Node.js to post and pre-render Jamstack blog comments without a database.
Compile SASS with npm
Use npm package.json scripts, node-sass npm package cli and clean-css npm package cli to compile SCSS and minify the css output with Node.js
Compile TypeScript with npm
Configure the TypeScript compiler with tsconfig.json, and compile TypeScript into JavaScript using tsc command, Node.js, and npm package.json scripts.