Easy way to build API | NestJS PostgreSQL and TypeORM

Competent Programming

📝 Description

In current video Im going show the easy way to build API free. We are going to build CRUD use NestJS PostgreSQL and TypeORM. It’s gonna be usefull for everyone who wants to have an API and don”t know from which point to start.

We create entities from TypeORM connect to DB using ElephantSQL which has the free plan to use. We will do a full CRUD api to manage our entity. There is also posibility to have connection between entities (one to one, one to many. – part 2).

NestJS – A progressive Node.js framework for building efficient, reliable and scalable server-side applications. The beaty of this is that it has really similar structure as Angular and also supports TypeScript.

PostgreSQL is an object-relational database management system. PostgreSQL is an open-source descendant of this original Berkeley code. It supports a large part of the SQL standard and offers many modern features: complex queries, foreign keys, triggers, updatable views, transactional.

TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases – from small applications with a few tables to large scale enterprise applications with multiple databases.

Enjoy this episode, more will be soon.

[GIT]: https://github.com/CompetentProgramming/feedback-server
[Twitch]: https://www.twitch.tv/competent_programming – streams at least 3 times per week. Subscribe.
❤ Socials
[Twitter]: https://twitter.com/competent_dev
[Instagram]: https://www.instagram.com/dmitriy.horytsan/
[Discord]: https://discord.gg/DhRcGRBfRT

❤ Helpfull links
[NestJS]: https://nestjs.com/
[ElephantSQL]: https://customer.elephantsql.com/login
[TypeORM]: https://typeorm.io/

00:00:00 – Introduction
00:01:58 – Setup NestJS
00:09:02 – PostgreSQL + TypeORM Entity
00:22:18 – Connect to DB
00:37:37 – Repository
00:49:39 – Create CRUD
01:03:23 – Summary

#JavaScript #programming #development #html5 #css #js #angular #nodejs #rxjs #ngrx #typescript #tutorial #guide #nestjs