Build Serverless Functions in JavaScript with this Netlify Serverless Functions tutorial. Serverless Functions can be written in JavaScript and set up for deployment with GitHub and Netlify.

Subscribe ➜ https://bit.ly/3nGHmNn

🔗 Source Code: https://github.com/gitdagray/serverless

  • (0:00) Intro
  • (1:35) Structure HTML
  • (3:19) Add CSS
  • (7:26) Add JavaScript
  • (11:09) Add a CSS Animation
  • (12:53) JS Fetch with Async / Await
  • (14:23) Quick Refactor
  • (15:10) Create a git repo and push to GitHub
  • (17:05) Link your project to Netlify with Continuous Deployment
  • (18:05) Install NodeJS
  • (18:25) Install Netlify CLI
  • (19:48) Initialize npm
  • (20:14) Create a .gitignore file
  • (20:38) Install node-fetch package dependency
  • (21:11) Create the serverless functions folder
  • (21:22) Create a serverless function
  • (23:48) Modify the fetch function in our main.js
  • (24:35) Use Netlify CLI to test our serverless function
  • (25:11) A more practical serverless example
  • (27:27) Where to add environment variables in Netlify

#serverless #javascript

Serverless Functions in JavaScript | Build Netlify Serverless Functions with JavaScript
22.75 GEEK