Skip to content

Tutorial Getting Started

Dae Houlihan edited this page Nov 11, 2024 · 2 revisions

Tutorial: Getting Started

Warning

This section is under construction. Some of this information is out of date with the latest release of the template. Use with caution.

This tutorial will walk you through creating a serverless experiment from scratch. We'll cover:

  • Setting up a Firebase project
  • Configuring Firestore database
  • Creating a basic web app with user input
  • Implementing serverless data storage

Prerequisites

Before starting this tutorial, ensure you have:

  • Node.js and yarn installed
  • A Google account for Firebase
  • Basic familiarity with TypeScript/JavaScript
  • A code editor (VS Code recommended)

Tutorial Sections

  1. Tutorial/Firebase Setup - Creating and configuring your Firebase project
  2. Tutorial/Project Setup - Setting up the local development environment
  3. Tutorial/Adding Firebase - Implementing Firebase authentication and data storage
  4. Tutorial/Testing the App - Running and testing your serverless application

Quick Start

If you're experienced with Firebase and Node.js, you can follow these quick steps:

  1. Create Firebase project
  2. Enable Firestore and Anonymous Authentication
  3. Initialize local project:
mkdir exampleproj

cd exampleproj

corepack enable
yarn init -2
yarn set version stable

yarn add --dev firebase-tools
yarn firebase login
yarn firebase experiments:enable webframeworks
yarn firebase init

For detailed instructions, proceed to Tutorial/Firebase Setup.