illustration for Deploy a Serverless API React Application with TypeScript

Deploy a Serverless API React Application with TypeScript


Jason Lengstorf
19m closed-captioning
7 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
people completed
Published 2 years ago
Updated 2 years ago

Time is precious.

Businesses constantly have to be delivering value to their customers and developers are on the front lines keeping up with these demands

Rapid development is necessary when we are trying to prototype new ideas and figure out what sticks.

While speed is necessary, you also don't want to code yourself into a corner later down the road if an idea ends up taking off.

Netlify, Vite, TypeScript, and React synergize extremely well for rapidly developing professional-quality applications.

This course will have you deploying a serverless application and deploy it in under thirty minutes!

If you haven't heard of Vite, it's the French word for quick! It's also a build tool that consists of a dev-server and an extremely fast bundler. It makes for a rapid development loop.

As for the rest. Netlify makes hosting fast and easy with serverless functions and continuous deployment. React enables you to quickly create reusable components. And TypeScript helps you write cleaner code that is easier to refactor.

So get started and learn how to use this stack in your own applications!

Course Project

Throughout the course, you will be building a form that posts data to a serverless function. The course example is kept simple so that you can see how simple it can be to prototype an application/feature using this stack.

Jason sends submits form data to a serverless function

Skills you’ll gain

  • Leverage TypeScript, React, Vite, and Netlify for rapid development
  • Create Netlify serverless functions
  • Trigger serverless functions client-side
  • Deploy your app with the Netlify CLI

What’s next?

You have the basics of serverless down. Now’s the time to get more ambitious with your applications you can introduce serverless into one of your existing applications or build a new project from the ground up.

If you’re looking to sell something online, Jason has your back on how to implement Stripe Checkout with serverless functions → Sell Products Using Stripe Checkout and Netlify Functions

Another option for you to explore is a more complex application. → Build a Corgi Up-boop Web App with Netlify Serverless Functions and Hasura In this application, you’ll integrate serverless functions with Hasura, a hosted GraphQL database, to read and write data in an application.

Course Content

19m • 7 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers
    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout
    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use
    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.