Skip to main content

Prerequisites

Before we can deploy your application, you will need to obtain two sets of credentials:

  • A Neon database cluster, to hold information for your product
  • An API key from Postman, for sending emails, including emails for logging into your product
  • A Vercel account, to deploy and host your product

Neon

We recommend using Neon to host the database for your product.

Step 1: Creating an account

Go to this link, login and create your account.

Step 2: Creating a project

Create a free project with Singapore as the region. You may leave the database name as the default value as we will be creating another database later.

A database connection string will be displayed to you, but you do not need to save this value.

Step 3: Creating a role for your application

Click on Roles in the sidebar and create a SQL user for your application.

Step 4: Creating a database

Click on Databases in the sidebar and create a new database with your application role as the owner.



tip

You may delete the default role and database as they will no longer be used.

Postman API

Postman is the Singapore Government's messaging service. It offers an API to send emails from your product, accessible through a key unique to you.

Step 1: Navigate to settings page

Login into Postman with your .gov.sg email and navigate to the Settings page. Click on "Generate API Key".

Postman Settings

Step 2: Provide a key label

Provide a descriptive label for your API key. This will help you to identify the key in the future.

Postman New API Key

Step 3: Save API key

Save the API key somewhere safe. You will need this when deploying your application in the next step.

Postman Copy API Key

Vercel

We use Vercel to conveniently host starter-kit projects. You will need to sign-up for an account with them to deploy your product there.

Step 1: Sign up

Visit the Vercel sign-up page, and select the Hobby plan. If you wish to pay and upgrade to Vercel Pro, you may do so later.

Enter an appropriate name for your Vercel account, like your product name.

Step 2: Connect with GitHub

In the screen that follows, connect your GitHub account.