Serverless Functions in JavaScript - Build Netlify Serverless Functions with JavaScript
Offered By: Dave Gray via YouTube
Course Description
Overview
Learn to build and deploy serverless functions using JavaScript and Netlify in this comprehensive tutorial. Begin by structuring HTML, adding CSS, and implementing JavaScript for your web application. Explore CSS animations and asynchronous JavaScript with Fetch API. Set up version control with Git, create a GitHub repository, and link your project to Netlify for continuous deployment. Install necessary tools like Node.js and Netlify CLI, initialize npm, and manage dependencies. Create serverless functions, modify your main JavaScript file to interact with them, and test using Netlify CLI. Discover practical serverless examples and learn how to manage environment variables in Netlify. Gain hands-on experience in developing and deploying serverless applications with this step-by-step guide.
Syllabus
Intro
Structure HTML
Add CSS
Add JavaScript
Add a CSS Animation
JS Fetch with Async / Await
Quick Refactor
Create a git repo and push to GitHub
Link your project to Netlify with Continuous Deployment
Install NodeJS
Install Netlify CLI
Initialize npm
Create a .gitignore file
Install node-fetch package dependency
Create the serverless functions folder
Create a serverless function
Modify the fetch function in our main.js
Use Netlify CLI to test our serverless function
A more practical serverless example
Where to add environment variables in Netlify
Taught by
Dave Gray
Related Courses
AWS Fundamentals: Building Serverless ApplicationsAmazon Web Services via Coursera Introduction to Serverless on Kubernetes
Linux Foundation via edX Build a RESTful Serverless API on AWS
Coursera Project Network via Coursera Application Development using Microservices and Serverless
IBM via Coursera Configuring Serverless Computing in Microsoft Azure
Pluralsight