TypeScript and Flutter - Lecture # 3: Setup and Configure Postgres DB - step by step guide

Опубликовано: 29 Май 2026
на канале: Ali Khan Programmer
32
4

Hey folks, welcome to the third TypeScript and Flutter tutorial from this Full Stack Project.

Below are the points discussed in the video.

Learn to setup Postgres DB in Mac, Linux and Windows
How to setup environment variables
How to establish database connection
How to check Postgres DB from terminal
How to run migrations and create tables

Here is the link to the init project:
https://github.com/AliKhan6/Demo-proj...

In the readme file contact all the details you need to know about how to setup and run the project.

Below are the commands used in the video:

1. connect to postgres
psql -U postgres

2. create database
CREATE DATABASE yourdatabase;

3. connect to the database
psql -h "hostname" -d "database_name" -U "username"

Replace the placeholders in the commands.