🚀 Learning FastAPI by Building a Real Project Recently, I built a Notes Application while learning FastAPI, following a tutorial by Code With Harry. 🔹 What I worked on: Created GET & POST routes using FastAPI Connected to MongoDB as the database Used Jinja2 to render HTML templates Built a simple CRUD-based Notes app This project helped me understand how backend APIs work, how to handle data with MongoDB, and how FastAPI can be used with template rendering. Still learning, still building 💪 Github: https://lnkd.in/dbjY33HY #FastAPI #Python #MongoDB #BackendDevelopment #WebDevelopment #LearningByDoing #CodeWithHarry
Building a Notes App with FastAPI and MongoDB
More Relevant Posts
-
🐍 𝗥𝗲𝗽𝗹𝗮𝘆 𝘁𝗵𝗲 𝗧𝗿𝗶𝗰𝗸: 𝗚𝗲𝘁𝘁𝗶𝗻𝗴 𝗠𝗼𝗿𝗲 𝗢𝘂𝘁 𝗼𝗳 𝗣𝗼𝘀𝘁𝗴𝗿𝗲𝗦𝗤𝗟 𝘄𝗶𝘁𝗵 𝗣𝘆𝘁𝗵𝗼𝗻 𝗮𝗻𝗱 𝗦𝗤𝗟𝗔𝗹𝗰𝗵𝗲𝗺𝘆 ⚙️🗄️ Missed this session last January 31? Or want to revisit the database tricks your syllabus definitely skipped? 👀 In this talk, 𝗝𝗡 𝗔𝗱𝗮𝗿𝗼 𝗩𝗶𝗹𝗹𝗮𝗺𝗼𝗿 breaks down practical PostgreSQL features and shows how they power real-world Python applications—no fluff, just hands-on insights from actual production experience. From writing smarter queries to maximizing SQLAlchemy’s capabilities, this session goes beyond theory and into how systems are really built and scaled. If you’ve ever wondered how to push PostgreSQL further with confidence (and not just “it works on my machine”), this recording is for you. 💻✨ 🎥 Watch the full session here: 👉 https://lnkd.in/gSYwC8-2 Now streaming. Go press play and level up your backend game. 🚀 In Partnership with: IT Step Academy Philippines #DurianPy #Python #PythonTricks #PostgreSQL #SQLAlchemy #DavaoTech #CodingLife #DavaoCity #meetup
To view or add a comment, sign in
-
-
🧩 Day 73 of My Data Science Journey — Jinja Templates & Template Inheritance in Flask Today I explored one of the most powerful features of Flask: Jinja templates. 🔸 Jinja Templates I learned how Jinja allows you to write dynamic HTML using: Variables Loops Conditions Expressions This makes it easy to pass data from Flask to the frontend and render dynamic web pages. 🔸 Template Inheritance I also understood how template inheritance helps structure web pages efficiently: Creating a base template (layout) Extending it in other pages Avoiding repetitive code Keeping the UI consistent across all pages This is super useful for building scalable Flask apps. Flask templates are starting to make full-stack development feel much more organized and powerful. Onwards! 🚀🌐 #Flask #Jinja #WebDevelopment #Python #LearningJourney #BuildInPublic
To view or add a comment, sign in
-
Most full-stack tutorials are drowning in theory, making simple deployments look like a logistical nightmare! 🙃 In my 20-minute quick dive, I’m showing you a clean, result-focused setup - taking a static "Hello World" webpage and transforming it into a production-ready Flask and PostgreSQL application - published and running live on Sevalla! What you'll learn? Building your own tiny social media platform that you can easily share with the world! 🌍🚀 So if you're curious about understanding the flow of data from the database to your app and to the public web - this tutorial is perfect for you! Full tutorial link in the comments 👇👇👇 #Python #Pythonprogramming #FullStack #PostgreSQL #TechEducation
To view or add a comment, sign in
-
🚀 Day 5 of learning Python & FastAPI (from MERN background) Today I moved beyond just running the server and started understanding how FastAPI actually handles data. Here’s what I learned: 1️⃣ Path Parameters → Creating routes like /users/{id} 2️⃣ Query Parameters → Handling URLs like /users?active=true 3️⃣ Difference between GET and POST APIs 4️⃣ Request Body → Sending JSON data to FastAPI 5️⃣ Pydantic Models → Validating incoming data using schemas Coming from Express.js, it feels very similar to: req.params req.query req.body But FastAPI makes it cleaner with type hints and automatic validation. Next target: 💪 Day 6 + Day 5 combined practice → More APIs → Better understanding of models → Stronger FastAPI foundation #Python #FastAPI #BackendDevelopment #LearningInPublic #MERNtoPython #Consistency #HungerToLearn
To view or add a comment, sign in
-
-
🤔 Flask vs FastAPI: Which Python framework should you choose in 2024? After building APIs with both frameworks, here's my honest breakdown: 🐍 Flask - The Veteran: • Mature ecosystem with tons of resources • Complete flexibility and control • Perfect for complex, custom architectures • Steeper learning curve for beginners ⚡ FastAPI - The Speed Demon: • Built-in async support for high performance • Automatic API documentation with Swagger • Type hints make code more maintainable • Modern Python features out of the box My take: FastAPI wins for new projects requiring speed and modern features. Flask remains king for legacy systems and when you need maximum customization. The real winner? Learning both! Each has its place in different scenarios. What's your experience? Are you team Flask or FastAPI? Share your thoughts below! 👇 #Python #WebDevelopment #API #Flask #FastAPI #Programming #TechTips #SoftwareDevelopment #Coding
To view or add a comment, sign in
-
-
Daily Learning Log: DSA + Development — Day 13 🚀 Day 13 was about applying backend concepts practically and Python (DSA): ✅ Practiced calculating time complexity of different loop structures ✅ Solved questions involving nested loops ✅ Did dry runs to manually count iterations ✅ Strengthened understanding of how O(n), O(n²) behave with increasing input size Development (Node.js & MongoDB): ✅ Created Schema and Model using Mongoose ✅ Implemented POST API using User.create() ✅ Implemented PUT API using findByIdAndUpdate() ✅ Understood the importance of { new: true } Understanding how data is stored and how code scales together makes backend development stronger. Small bugs teach big lessons. Consistency continues. Learning one concept at a time 🚀 #Python #DSA #NodeJS #MongoDB #BackendDevelopment #LearningInPublic #MCA
To view or add a comment, sign in
-
-
𝐇𝐨𝐰 𝐭𝐨 𝐛𝐮𝐢𝐥𝐝 𝐚 𝐅𝐚𝐬𝐭𝐀𝐏𝐈 𝐚𝐩𝐩 𝐰𝐢𝐭𝐡𝐨𝐮𝐭 𝐚 𝐝𝐚𝐭𝐚𝐛𝐚𝐬𝐞 𝐨𝐫 𝐚𝐧 𝐎𝐑𝐌? 🤔 If you’re a beginner and don’t want to start your journey with a complex setup (database, migrations, ORM…), 𝑑𝑏𝑧𝑒𝑟𝑜 𝑖𝑠 𝑎 𝑔𝑟𝑒𝑎𝑡 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛. With dbzero, you can persist Python objects directly on disk — no SQL, no schema, no boilerplate. Just focus on learning FastAPI, API design, and clean backend logic. I built a simple Todo API to demonstrate how this works in practice 👇 Sometimes, starting simple is the fastest way to move forward 🚀 The link of the project. https://lnkd.in/en2yHrTH #FastAPI #Python #BackendDevelopment #Beginners #APIDesign #LearningByDoing #CleanCode
To view or add a comment, sign in
-
-
FastAPI feels like the default choice for new Python APIs more often than Flask now. What stands out to me is the combination of speed, a gentle learning curve, and first-class async support. For backend work, async isn’t just a “nice to have” anymore—handling lots of concurrent requests (and I/O-heavy tasks like database calls) becomes much easier to model when the framework is designed around it. Flask still has a huge ecosystem and is great for simple services, but the industry shift makes sense: FastAPI tends to encourage clearer API structure and modern patterns from the start. When would you still pick Flask over FastAPI today?
To view or add a comment, sign in
-
-
When I first started working with FastAPI, I didn’t question it much. I wrote my routes.I queried the database.Everything just… worked. But then I paused and thought....... Why is SQLAlchemy sitting between my server and the database? What is it actually doing there? It turns out, it’s not just helping me write queries. It’s translating Python into SQL.It’s managing sessions and transactions.It’s preventing injection risks.It’s quietly acting as a protective layer between my application and the database. That invisible layer is doing more work than we often realize. So I broke it down clearly in this carousel 👇 #BackendArchitecture #FastAPI #SQLAlchemy #Python #LearningInPublic
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development