Node.js TypeScript and PostgreSQL setup using TypeORM library | Tigran in Tech

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024
  • Node.js TypeScript connection with PostgreSQL over TypeORM, by walking over a specific parts of configuration and Database Model creation.
    I'm using this combination for almost all of my Node.js projects and TypeORM is very consistent, providing high quality releases without any braking changes and very good documentation.
    We are choosing PostgreSQL as a main DB communication, but TypeORM allows to have other SQL based databases like MySQL, SQ Server etc...
    Github Repository:
    github.com/tig...
    -----
    Website: tigran.tech
    Twitter: / tigranbs
    Medium: / tigranbs
    Github: github.com/tig...

Комментарии • 11

  • @nilmendes7710
    @nilmendes7710 4 года назад +1

    I was unable to connect to the PostgreSQL database, create tables, nothing.
    The strange thing that I have TypeORM installed globally, I tried with MySQL I was able to connect, create tables, but using PostgreSQL database I couldn't.
    I thought there was something wrong with my PostgreSQL installation, so I tried with the Laravel + PostgreSQL database, I was able to connect, create tables.
    After I saw this video, I accessed its repository, cloned it and finally got the connection, creating tables.
    Thank you very much for your contribution, I hope your channel is very successful, + 1 written.

  • @aravindkumar8145
    @aravindkumar8145 3 года назад

    Superb video Its the best one for indepth typeORM

  • @roberto9369
    @roberto9369 3 года назад

    Putting Db try Connection fn, in an express middleware was a nice tip. Thanks

  • @isidme
    @isidme 3 года назад

    Awesome, tutorial. Looking forward to seeing more tutorials on express, typescript, typeorm

  • @grigorfanyan1821
    @grigorfanyan1821 3 года назад

    Great Job!

  • @graysmith1935
    @graysmith1935 4 года назад

    Great videos, keep it up!

  • @hiteshjoshi6797
    @hiteshjoshi6797 3 года назад

    I am getting @type/node not foubd error on required, export statement, though they are in the package and node modules

  • @mdlindsey
    @mdlindsey 4 года назад

    Can you please show how to insert values for text[] and/or jsonb[] columns?

  • @arupde6320
    @arupde6320 3 года назад

    plz upload more videos ..

  • @harshil000raval
    @harshil000raval 3 года назад

    Tried this. It is not making the connection

    • @tigrantech
      @tigrantech  3 года назад

      You mean it is not connecting with Database?