2023-06-15
6103
#firebase#typescript
Ebenezer Don
31875
Jun 15, 2023 â‹… 21 min read

Building a REST API with Firebase Cloud Functions, TypeScript, and Firestore

Ebenezer Don Full-stack software engineer with a passion for building meaningful products that ease the lives of users.

Recent posts:

A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 â‹… 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 â‹… 7 min read
typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 â‹… 5 min read
Using Firebase For ASP.NET Authentication

Using Firebase for ASP.NET authentication

Firebase is one of the most popular authentication providers available today. Meanwhile, .NET stands out as a good choice for […]

Lewis Cianci
Jan 21, 2025 â‹… 9 min read
View all posts

8 Replies to "Building a REST API with Firebase Cloud Functions, TypeScript, and Firestore"

  1. Hello Ebenezer, i like your article, very clear and concise.

    I have a little more interest in the section “Getting entries from our Firestore database”

    In fact, i m pretty a newbe with Firestore, and i have an app developped with Flutter which store its data in Firestore.

    So now i would like to retrieve this data and send it to another app (precisely Salesforce) , but don t know really how to proceed… i guess , i m suppose to write the class also directly in firestore or ?

    Thank you in advance

  2. Thanks for this doc, it really helps with initial setup. How would you go about setting this up to test with the local emulator? Any chance you could add a section or comment that just extends your current implementation to also use the local emulators correctly for local dev?

  3. type Request = {
    body: Order,
    params: { orderId: string }
    }

    How do I create a Request type with headers?

Leave a Reply