Create a REST API Server with Python, Flask, and MongoDB

preview_player
Показать описание
In this post, I am going to show you how you can create your REST or Representational State Transfer server using Python, Flask, and MongoDB. If you have your Internet of Things (IoT) projects and you would like to control it from your database or you want to create a logger of your sensor readings then knowing what is REST API server and how to create one is important.

This is Part 3 of my MongoDB for IoT Developer series where we will integrate the MongoDB Database into our IoT projects. We will be using Arduino microcontrollers, Raspberry Pi Single Board Computers, and MicroPython devices in controlling our electronic circuit.

WriteUp:

MongoDB for IoT Developer Series:

Contents of the Video:
0:00 - Intro
0:58 - DonskyTech Plug
1:12 - What is an API?
3:38 - What is REST API Server?
4:07 - REST Message Exchange
5:50 - What is HTTP Methods?
6:52 - What are REST API Endpoints?
8:18 - What are HTTP Status Codes?
9:24 - Sensor Management System
14:58 - MongoDB CRUD Operation Demo
21:21 - Code Demo
38:50 - Outro

If you like my post or videos then please consider subscribing to my channels and sharing them with your friends:

If you are generous and think I have helped you, please consider buying me a coffee. 🙂
Buy Me a Coffee:

Patreon:

#rest
#mongodb
#flask
#python
#database
#arduino
#raspberrypi
#micropython
Рекомендации по теме
Комментарии
Автор

We are in deep now! Lots of studying ahead. Thanks for another interesting video.

keithlohmeyer
Автор

Great job! I don't watch the video but the writeup is really helpful <3

tratranvan
Автор

The first 3 posts of this series are heavy on the lectures/theories/set up but the following videos would be a breeze. I wrote this series for IoT developers and have carefully written the tutorials in a beginner-friendly style. I used Python over javascript as it is much easier to pick up and most hardware guys would be able to get a hang of the code much better. Hang in there!😀😀😀

DonskyTech
Автор

great content and documentation, thanks.

quaternion-pi
Автор

Thanks for the video series Donsky! They are well done and have been very helpful. Your english is very good! 🙂

tyh
Автор

Thanks for this great series. Would you recommend using Django instead of Flask?

elvansaraydn
visit shbcf.ru