Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Building a Web API with Express and PostgreSQL to Consume from Browser

Автор: Hussein Nasser

Загружено: 2019-05-25

Просмотров: 46395

Описание:

💻 More Software engineering videos    • Software Engineering by Example  



We have made a video about how to connect to #postgres from javascript. we have used #nodejs as the javascript runtime which can create executable that run, query the database and display your results. However, a lot of you asked how can I connect to postgres from my browser? The answer is no! The reason is browser only know how to make web calls which are HTTP calls while database is a low level tcp protocol. So we need some layer that can serve HTTP calls, serve web calls, almost like a web server.

In this video use express which sets on top of node js to spin up a web server and serves an API which will allow us to communicate from our browser to our postgres database this is coming up.


[ ] Setup Postgres database

[ ] Setup NodeJS and Express

[ ] Write TODO list API
[ ] Implement GET (return all todos)
[ ] implement POST (create new todo)
[ ] implement DELETE (delete a todo)

[ ] Build the HTML web page that consumes the API
[ ]


github repo -
https://github.com/hnasr/javascript_p...

Stay Awesome!
Hussein

Building a Web API with Express and PostgreSQL to Consume from Browser

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

IndexedDB Crash Course with Javascript

IndexedDB Crash Course with Javascript

Build a Rest Api with NodeJS (JavaScript), Express, and PostgreSQL

Build a Rest Api with NodeJS (JavaScript), Express, and PostgreSQL

Publish-Subscribe Architecture (Explained by Example)

Publish-Subscribe Architecture (Explained by Example)

TCP vs UDP Crash Course

TCP vs UDP Crash Course

Authentication on the Web (Sessions, Cookies, JWT, localStorage, and more)

Authentication on the Web (Sessions, Cookies, JWT, localStorage, and more)

What are web servers and how do they work (with examples httpd and nodejs)

What are web servers and how do they work (with examples httpd and nodejs)

HTTP Cookies Crash Course

HTTP Cookies Crash Course

ASP.NET Core Crash Course - C# App in One Hour

ASP.NET Core Crash Course - C# App in One Hour

Build restful API with PostgreSQL and Express

Build restful API with PostgreSQL and Express

JWT - JSON Web Token Crash Course (NodeJS & Postgres)

JWT - JSON Web Token Crash Course (NodeJS & Postgres)

WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more

WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more

Понимание Active Directory и групповой политики

Понимание Active Directory и групповой политики

4 Hours Chopin for Studying, Concentration & Relaxation

4 Hours Chopin for Studying, Concentration & Relaxation

Bach - Classical Music for Relaxation

Bach - Classical Music for Relaxation

Introduction to Docker for Javascript Developers (feat Node.js and PostgreSQL)

Introduction to Docker for Javascript Developers (feat Node.js and PostgreSQL)

Основы ПЛК: структурированный текст

Основы ПЛК: структурированный текст

Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial

Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial

Step by Step Javascript and Postgres Tutorial using node-postgres

Step by Step Javascript and Postgres Tutorial using node-postgres

Relational Database ACID Transactions (Explained by Example)

Relational Database ACID Transactions (Explained by Example)

REST API Pros and Cons (Explained by Example)

REST API Pros and Cons (Explained by Example)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]