Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGra...
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 ➜ bit.ly/3nGHmNn
🔗 Source Code: github.com/git...
(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
✅ Follow Me:
Twitter: / yesdavidgray
LinkedIn: / davidagray
Blog: yesdavidgray.com
Reddit: / daveoneleven
Was this tutorial about how to build Serverless Functions with JavaScript helpful? If so, please share. Let me know your thoughts in the comments.
#serverless #functions #javascript
Негізгі бет Serverless Functions in JavaScript | Build Netlify Serverless Functions with JavaScript
No video
Пікірлер: 30