Тёмный

TypeScript REST API with NodeJS, Postgres & TypeORM 

Kris Foster
Подписаться 10 тыс.
Просмотров 28 тыс.
50% 1

We're going to build a REST API using TypeScript, node, docker, postgres & TypeORM.
In this first video we're going to be initializing the project using the TypeORM CLI. We're then going to run postgres inside a docker container & our application will be able to connect to it.
Code: github.com/kriscfoster/typesc...
Install NodeJS: nodejs.org/en/
Install Docker: docs.docker.com/get-docker/
TypeORM: typeorm.io/#/

Наука

Опубликовано:

 

11 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@KrisFoster1
@KrisFoster1 2 года назад
Part 2 - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-rflZhPzr_G4.html
@IamMiracleAlex
@IamMiracleAlex 2 года назад
This is awesome -- please keep it up
@cameronmoore6663
@cameronmoore6663 2 года назад
Great content dude - really solid stuff
@KrisFoster1
@KrisFoster1 2 года назад
Thank you Cameron, glad you enjoyed!
@xXAtom11Xx
@xXAtom11Xx Год назад
Great tutorial, thanks for the insight
@jamescampbell2822
@jamescampbell2822 2 года назад
Great tutorial mate!
@KrisFoster1
@KrisFoster1 2 года назад
Thank you James!
@rickylall2401
@rickylall2401 2 года назад
Thank you helped a lot.
@RahulJhaJourney
@RahulJhaJourney 3 месяца назад
data still coming I have done this part docker compose down and again I restart the docker compose up -d but data is still coming and I also remove the data
@aminelouni
@aminelouni 2 года назад
waiting for it
@KrisFoster1
@KrisFoster1 2 года назад
Great, I'm planning on uploading the next video in the series this weekend!
@HSnake5
@HSnake5 Год назад
For anyone watching this in 2022, perhaps even later, there is no "ormconfig.json" generated anymore. Instead it will be in "data-source.ts" so no need to panic like I did.
@xXAtom11Xx
@xXAtom11Xx Год назад
How did you handle the database creation part, beacause the whenever I run `npm run start` I get error: database "mydb" does not exist
@xXAtom11Xx
@xXAtom11Xx Год назад
nvm there is a 'postgres' database already created when you mount the docker container, that's why when I change datasource database option to something other than postgres it'll fail
@tonyta599
@tonyta599 Год назад
Life saver, thank you !
@odetamaslovaite2574
@odetamaslovaite2574 2 года назад
Hi Kris, Thanks for a great tutorial! :) But I encountered one problem, even when I cloned your Github repo. The error which I am getting after npm start is: error: role "postgres" does not exist. I have run out of ideas how to fix it. Maybe do you have any insights why it is occuring?
@odetamaslovaite2574
@odetamaslovaite2574 2 года назад
Ah Nevermind! I managed to solve it - server is running! :D
@shadrackabely1013
@shadrackabely1013 Год назад
@@hat-skits Yes you can do it works even on a locally hosted postgres server
@FireOn2107
@FireOn2107 2 года назад
great tutorial master, I have a question, what’s the extension that use in the minute 6:01 ? Cheers
@Krior07
@Krior07 2 года назад
Is JSONVue
@ka_ka3141
@ka_ka3141 Год назад
not beginner friendly
@fromntop3750
@fromntop3750 Год назад
unless video. every youtuber gives info like from scrool 1-st grade?
Далее
I tried 8 different Postgres ORMs
9:46
Просмотров 396 тыс.
КРАСИМ ДЕНЬГИ В РОЗОВЫЙ!
01:01
Просмотров 522 тыс.
DIY rocking horse for your kid #diy #parenting
00:57
Просмотров 4,2 млн
Is Drizzle Really Better Than Prisma?
20:15
Просмотров 74 тыс.
API vs. SDK: What's the difference?
9:21
Просмотров 1,4 млн
Prisma Vs. TypeORM Vs. Sequelize | Which is Better?
12:44
How To Use TypeScript With Express & Node
17:05
Просмотров 67 тыс.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 75 тыс.
Docker Compose Tutorial with PostgreSQL and Node.js
11:49
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 2,3 млн