Set up NodeJs project with Typescript, Postgres and Docker | How To | Tutorial

Pubblicato il: 22 marzo 2021
sul canale di: Lift And Shift Dev
12,478
231

In this video, I will walk through step by step on how to config a NodeJs project with Typescript. The Node server will have ability to connect to Postgres database Docker container and run database migration script to config the database.

If you have not watched my tutorial on how to make a Game Website with ReactJs, Typescript and styled components. Here is the link:    • Build Game Website With React And Typescri...  

Support the channel: paypal.me/liftandshiftdev

Good document on database migration scripts: https://nickcraver.com/blog/2016/05/0...

docker-compose control startup order issue: https://docs.docker.com/compose/start...

#javascript #nodejs #typescript #postgres #webdevelopment #liftandshiftdev #es6 #ts #js #docker #dockercompose #postgresql #migrations

Link to source code: https://github.com/dmngu9/node-ts-pos...

0:00 - Introduction
0:25 - Initialise the project and install dependencies
6:50 - Simple Node server
8:32 - Create Dockerfile
10:30 - Create docker-compose file
16:43 - Database migration scripts
19:55 - Database environment variables
23:00 - Absolute path import with Typescript
27:08 - docker-compose startup order issue
31:00 - Verify database migrations script working


In questa pagina del sito puoi guardare il video online Set up NodeJs project with Typescript, Postgres and Docker | How To | Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Lift And Shift Dev 22 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 12,478 volte e gli è piaciuto 231 spettatori. Buona visione!