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

Sdílet
Vložit
  • čas přidán 16. 06. 2024
  • 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:
    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.
  • Věda a technologie

Komentáře •