- Видео 6
- Просмотров 55 761
MVP Engineer
Индия
Добавлен 21 ноя 2008
Want to learn more about Python? Flask? React? Flutter?
Want to find weekend projects that can help you get noticed?
If you answered yes to any of these, then you belong here. SUBSCRIBE TO OUR CHANNEL AND HIT THE BELL ICON.
We make videos where we build something real instead of looking up how to code. Building something real helps people learn Programming fast. It is also a rewarding experience.
The goal of this channel is to ALWAYS create QUALITY content where we build something exciting (API, Mobile-apps, Bots) and learn about the language and the framework as we go building.
Want to find weekend projects that can help you get noticed?
If you answered yes to any of these, then you belong here. SUBSCRIBE TO OUR CHANNEL AND HIT THE BELL ICON.
We make videos where we build something real instead of looking up how to code. Building something real helps people learn Programming fast. It is also a rewarding experience.
The goal of this channel is to ALWAYS create QUALITY content where we build something exciting (API, Mobile-apps, Bots) and learn about the language and the framework as we go building.
🔥 Python Projects | Build Flask REST API with MongoDB database [2020]
In this video, I will show you how to build REST API using Python flask and use MongoDB as a database. Also, we will do in 100 lines or less. The Books API will implement CRUD : Create, Retrieve, Update and Delete.
This is a fully functional code and I recommend that you watch all the way till the end. At any point in this video, if you are unable to follow, please let me know in the comment section and I will help you out for sure.
- TIMESTAMPS -
00:00 - Video Overview
00:58 - What is Flask?
01:18 - MongoDB Atlas Database
02:28 - Let's start Coding - Basic Flask App
03:45 - Connecting to MongoDB Atlas and creating a free MongoDB Database
06:22 - MongoDB document object
08:32 - Overview - Flask...
This is a fully functional code and I recommend that you watch all the way till the end. At any point in this video, if you are unable to follow, please let me know in the comment section and I will help you out for sure.
- TIMESTAMPS -
00:00 - Video Overview
00:58 - What is Flask?
01:18 - MongoDB Atlas Database
02:28 - Let's start Coding - Basic Flask App
03:45 - Connecting to MongoDB Atlas and creating a free MongoDB Database
06:22 - MongoDB document object
08:32 - Overview - Flask...
Просмотров: 17 040
Видео
Learn MongoDB using Python MongoEngine | Python MongoDB tutorial
Просмотров 9 тыс.4 года назад
In this 15-min video, we will go through how to use MongoDB with Python. We use MongoDB Atlas DB in the cloud and Python3. - TIMESTAMPS - 00:00 MongoDB Quickstart 00:16 What is MongoDB 01:28 Create a MongoDB Atlas Database 02:40 Connect to the database 05:10 Define a Book Document Collection 06:34 Create a new book document and add it to collection 07:10 Fetch the document 09:18 Update the docu...
Write Python unit tests | Flask API Testing using unittest and requests
Просмотров 17 тыс.4 года назад
In this 20-min video, we will start with writing a simple unit-test for an addition function using unittest standard library and then use the same concept and build upon it to write tests for the Flask API. The Books API implements CRUD : Create, Retrieve, Update and Delete and all operations will be tested using Python requests module. - TIMESTAMPS - 00:00 Why API Testing 00:41 Python unittest...
🔥Python Projects | Flask REST API with Sqlite Database in 100 lines
Просмотров 9 тыс.4 года назад
In this 20-min video, we will learn "How to write a Flask REST API and use Sqlite Database as a data store in less than 100 lines". The Books API will implement CRUD : Create, Retrieve, Update and Delete. The example shown in this video is a fully functional REST API. Link to source-code - github.com/rahularora/RUclips-source-code/blob/master/flask-api-sqlite/api.py Flask API Playlist - ruclips...
Best Visual Studio Code Extensions for Python Development [2020]
Просмотров 2,4 тыс.4 года назад
In this video I will show you how to setup Visual Studio Code to write Python code with some helpful extensions. We will be installing Python and VSCode using Homebrew first and then I m going to walk you through how to install extensions and show you what each of them do. Extensions that I covered - 1. Python Official by Microsoft 2. Visual Studio Intellicode 3. Kite 4. AREPL 5. Better comment...
Learn Python in 30 minutes | Python Tutorial for Beginners [2020]
Просмотров 8334 года назад
In this video, we will be covering "Python in 30minutes". There are hundreds of Python in X minute videos and blog articles. What makes this video special? We are going to do things differently in this video. Instead of going through Python programming language features and how to code each of them, we are going to code two programming tasks which will cover Beginner level Python concepts. I m ...
which code editor are you using in this video tutorial? Thanks
Where is the code?
Hello Sir, you have extremely good command, thanks
Please provide source code or constants.py code,please
Hi sir I got error like no module found as api_constants,can u please provide what inside the api_constants.py file
Please make video on employee report by using flask and oracle if possible for erp n crm
good explanation, no code provided but easy to develop
A great work for begining
Thank you so much..you are awesome
Thank you..this video was very helpful
my data is getting stored in 'books.db-shm' intead of 'books.db' is there any solution?
is it actually updating and deleting records from the database? if. yes, it's a functional test not a unit test
thank you very much, i was using pymongo but i didn't like somethings we need to do to implement it
What to write in place of password and database name app_constant file mein kya hai wo to aap ne nahi bataya
can we see api_constants.py structure? i mean what is inside.
short and very useful video with a great content in a nutshell
The title is "with sqlite", where is Sqlite?
instead of format() using f string
worked in a brilliant manner. thumbs up
Hi, I keep getting the error: r =requests.get(ApiTest.url) NameError: 'requests' is not defined. I am testing on a heroku deployed url
Did you import "requests"?
Great job! Thank you.
Great tutorial and easy to follow
Why Indians can not speak English like a human? I'm sick of your accent!
dude, great tutorial... but can u share ur bashrc plss...I'm in love with it!!!! :)
Sir, please provide source code
Thank you sir , kuch nhi samjha meko
add subtitle
Thank you so much it's very clear, Congrats
Someone:After so many reading ,coding , writing Finally could print ("Hello World") Someone:Time to hack google
Great video, thanks so much
Glad you liked it!
instead of httpie, you could have used postman, that is prominent, and learning it would be useful to others
i have a doubt that can we create a MVC structure in flask, using this mongodb as a database?, because i am also a nodejs developer and I follow MVC structure in that.
at 6:49, can we use this ? DB_URI = f"mongodb+srv://{mongodb_user}:{mongodb_password}@cluster0.3kcv6.mongodb.net/{mongodb_dbname}?retryWrites=true&w=majority"
sir , can you share the docs where i can find, how to connect flask and mongodb atlas, i am not able to find anything related to this
How did you create password in another Python file?
In a new file, add a constant variable and then import it. Check stackoverflow answer - stackoverflow.com/questions/6343330/importing-a-long-list-of-constants-to-a-python-file
create a file named say password.py. In that file write this code: def my_password( ): return 'mySecretPassword' In your current working python file say application.py , do the following: from password import my_password print( f '{my_password( )} is awesome' ) Then the output would be: mySecretPassword is awesome
Very good, how to make a 'ref:' collection 'in the schema in python using Flask?
ya he is not using schemas at all, and i also want to use that methods. may be we need to refer pyMongo instead of mongoengine
@@rohandevaki4349 when you can and share with me i will be very grateful
@@rafaelcarvalho2918 ya if i get them , i will share with u for sure
Is it also for window 7 os ?
Yes. Visual Studio Code is available for all Operating systems.
good job, but where i can download the source code that i can run and have a quick look?
U mention sqlite in title but never saw it
11:30
Can u please do this in postgres my kind request could you upload a video on it
yeah it will better if you upload a video in postgres
Great Explanation. Helped a lot!!
Glad you liked it!
Good video! Keep doing the great job!
It's really nice session. Please do one session for Redis aswell
Very nicely explained! Thumbs up!! It will be great if you can create a follow up video where you can demonstrate 2- or 3- levels of complex JSON documents handling for MongoDB. Thanks for this!
Pandemic is going on!
Good tutorial
Great Insights
u should link and share the code :)
Thank you for pointing it out. Sorry i missed it. It is now part of the description - github.com/rahularora/RUclips-source-code/blob/master/flask-api-sqlite/api.py
Hi, Its very Nicely Explained!!! , Can you please guide me as in how using FLASK, can I consume a REST API of another application say: url1/travel9/rest/places/ using GET method & put the data into another application say: url2/travel9/rest/places/ using POST method. Thanks
Hi Abhishek. You can use "requests" to consume another API from flask. def some_func(): r = requests.get('url1/travel9/rest/places') return r.text Please subscribe to my channel if you like the video. Thank you :)
Great tutorial. Brew is not available for windows. Please add a windows tutorial too.
I don't have a windows machine on my end. Instead of homebrew, you can download python and visual studio code directly from the website and use installer. Thank you for viewing the video. Please subscribe to my channel :)
@@rahularoradce Great. Suggestion works. Thanks