Sign in

Posting data to API’s have never been easy. But have you ever used React to post form data to Google Sheets? If not, then this tutorial is for you.

Today, we are going to talk about how to POST form data from React to Google Sheets like REST APIs.

Creating a React App

To get started, type npx create-react-app react-googlesheets to setup the project directory.

There are tons of resources that can be used to increase the productivity of a Frontend Developer.

Let’s talk about some of them.

  1. Canva: Canva is a graphic design platform used to design posters, presentations, documents, Instagram posts, logos, photo collages, invitation cards, wallpapers, and more. It has a free version and a pro version. The pro version contains premium elements like photos, videos, icons, graphs, glyphs, and fonts. Check it out:
  2. Colors and Fonts: It is a library for designers and developers. You can browser hex color codes, gradients, fonts, glyphs, and more. It is completely free.

An Architecture is a systematic way in which a software is described, their relationships, and how they interact with each other. Software architecture includes several contributory factors such as Business strategy, quality attributes, human dynamics, design, and IT environment.

In other words, an architecture serves as a blueprint for a system.

Model View Controller (MVC)

Nowadays, we have applications with hundreds of developers working on them, which is complex. To make things easier, developers and programmers use different patterns to make the code less complicated.

The most popular of them is Model View Controller.

Model View Controller divides any large application into three parts.

In this tutorial, we are going to talk about how to design REST Services in TypeScript, MongoDB, and Express.


  1. NPM or Yarn package Manager
  2. Express
  3. TypeScript
  4. Postman
  5. MongoDB and Mongoose.
  6. REST Services for TypeScript

Project Layout:

In our Project, we are going to create endpoints that will create, retrieve and update using POST, GET and PUT methods. To achieve this goal, we will be using Mongoose functions like create(), findOne(), findOneAndUpdate()

The endpoints will be created in Express.

Installing Dependencies:

  1. First of all, install Node(if you haven’t) and NPM or Yarn Package Manager. This will be used to install dependencies on your machine.
  2. Once…


Your friendly neighborhood.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store