Тёмный

Build your first REST API with Flask and PostgreSQL 

teclado
Подписаться 30 тыс.
Просмотров 61 тыс.
50% 1

It's been a while! Learn how to create a home automation web service to store and retrieve temperatures in different rooms of your house (Arduinos not included!). Using Flask we can easily build an API that your temperature sensors can send data to, and then we can retrieve the data or do some processing with it.
This video will help you learn how to build a simple Flask API using PostgreSQL for data storage.
Blog post: blog.teclado.com/first-rest-a...
REST APIs with Flask and Python: go.tecla.do/rest-apis-sale
Python and PostgreSQL (Udemy course): go.tecla.do/pysql
Thank you very much for watching!

Наука

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

 

16 окт 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@randalltockes2247
@randalltockes2247 Месяц назад
This was totally the explanation i needed for a few concepts. Thank you for this.
@JLucas-og1bq
@JLucas-og1bq Год назад
Broo, you are the only person that helped me.
@RaiWitt
@RaiWitt Год назад
Excellent! Thank you very much!
@ericcarlier3806
@ericcarlier3806 Год назад
very concise video, but I learnt a lot in 25 minutes ! thanks . I got your Rest APIs Flask/Python course , can't wait to start it 🤯
@tecladocode
@tecladocode Год назад
Great to hear! Thank you for taking the course! 💪
@nicholasnoronha473
@nicholasnoronha473 Год назад
Really nice video, post more!!
@imranyasin7537
@imranyasin7537 Месяц назад
Great video!! Thank you very much
@playcode9750
@playcode9750 3 месяца назад
excelente, ainda não tinha experimentado python pra api.
@sciduck8472
@sciduck8472 Год назад
did you read my mind? i was just wishing for this!
@tecladocode
@tecladocode Год назад
🤯 Happy to provide, though! 😁
@jonathancastillo5953
@jonathancastillo5953 Год назад
Gracias me encanta este contenido.
@user-io6yy5el8u
@user-io6yy5el8u 7 месяцев назад
You are the best
@Spyrosigma
@Spyrosigma 2 месяца назад
ElephantSQL just posted that they're shutting down : (
@amgarten
@amgarten 4 месяца назад
Wow, top tier tutorial
@tecladocode
@tecladocode 4 месяца назад
Thank you!
@ntsikelelondleleni6335
@ntsikelelondleleni6335 Год назад
wow nicely explained
@tecladocode
@tecladocode Год назад
Thank you so much 🙂
@tanzania0307
@tanzania0307 Год назад
Thank you for all the explanations. I am new to APIs and wonder if you can give me a hint on how can I create an API that I can give to another person so he can share his data with me without me having access to his database and I can store the shared data in my database. I hope I am not saying something stupid. Thank you for your help. By the way, I just bought your Udemy course.
@iriantokbarek9114
@iriantokbarek9114 Год назад
what themes and fonts You are using on this video Sir? it's look really nice 🙂
@HabibAlSaki
@HabibAlSaki Год назад
Hey, I bought two of your udemy courses on flask rest api, one got updated recently, was thinking if you are going to update the advanced one, or there is no such plan.
@r7918
@r7918 Год назад
Can you create a video of flask app using docker.
@rizqimaulana8790
@rizqimaulana8790 Год назад
why i got error on the relations rooms table
@benthebrute
@benthebrute Год назад
Any insight on using psycopg2 for windows? I attempted with and without the -binary part and got errors either way. Error: pg_config executable not found.
@benthebrute
@benthebrute Год назад
Never mind, I sorted it out. It's because I was attempting to use Python 3.11.0 and psycopg2 is not yet compatible with it, so I just changed my local to 3.10.7 and it worked perfectly.
@arunsuthar4783
@arunsuthar4783 9 месяцев назад
I also get errors when installing psycopg2
@ahmedsubmission
@ahmedsubmission Год назад
I am getting this error once I add the db url and do flask run: psycopg2.OperationalError: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?
@niarcas
@niarcas Год назад
Change line connection = psycopg2.connect(url) to conn = psycopg2.connect( "host='your_host_name_or_ip_address' " "port='5432' " "dbname='your_database_name' " "user='your_username' " "password='your_password'" )
@LorenzoPeve
@LorenzoPeve 5 месяцев назад
Just wanted to point out that this is connecting to the DB using a global connection object which is not good for working with servers (concurrency issues, scaling problems, etc)
@user-ed3vh1tt7c
@user-ed3vh1tt7c 2 дня назад
Hi everyone i cant do the db part because elephantsql are shutting down i cant register anything else i can use please
@miguelelizalde9757
@miguelelizalde9757 Год назад
How can i test this without insomnio?
@theonlyjordan360
@theonlyjordan360 Год назад
Postman?
@funnyrockffandfood9065
@funnyrockffandfood9065 24 дня назад
bro i need more advance video based on this ...........please upload it or give me some hint or sent me anyothers video based on this but advance
@funnyrockffandfood9065
@funnyrockffandfood9065 23 дня назад
and also thanks
@tecladocode
@tecladocode 19 дней назад
Thank you! I have many, many advanced videos in my course on building REST APIs with Flask: teclado.com/rest-apis-flask-python/ Check it out, and let me know what you think!
@gracchen2500
@gracchen2500 8 месяцев назад
doesn't cover how to install Flask or how to setup Insomnia. This is supposed to be a "first" tutorial?? The first 7 minutes took me 40 minutes
@imranyasin7537
@imranyasin7537 Месяц назад
"Important announcement: ElephantSQL will discontinue its services. The product will reach its End of Life on January 27, 2025. After May 1, 2024, we will cease to accept new users."
@andrewt7607
@andrewt7607 Год назад
ᎮᏒᎧᎷᎧᏕᎷ 🙋
@SteveMunsonPublic
@SteveMunsonPublic Месяц назад
ElephantSQL is discontinuing its services. The product will reach its End of Life on January 27, 2025. I wasn't able to create an account to even follow along with this video.
@tecladocode
@tecladocode 21 день назад
It is indeed! Another service must be used, unfortunately!
@cascossi809
@cascossi809 Год назад
Thank you for the video, but all this without an ORM as SQL-Alchemy does not seem truly professional.
Далее
One moment can change your life ✨🔄
00:32
Просмотров 8 млн
REST API With Flask & SQL Alchemy
35:25
Просмотров 295 тыс.
Authenticating a Flask API Using JSON Web Tokens
20:33
Просмотров 173 тыс.
FastAPI, Flask or Django - Which Should You Use?
9:49
Python REST API Tutorial - Building a Flask REST API
1:14:01
Rest API - Best Practices - Design
15:50
Просмотров 100 тыс.
Build APIs with Flask (the right way)
49:09
Просмотров 7 тыс.
😮Новый ДИРЕКТОР Apple🍏
0:29
Просмотров 32 тыс.