Automatically translated.View original post

What is it used to do??

# Web Site Writing Basics # Pythonprogramming # flask

# Lemon 8 Howtoo

# Web Site Writing Basics# pythonprogramming # flask _ framework # Lemon8 Howtoo

Flask is a small Web Framework written in Python. It is designed to be "simple" and "highly flexible" so that you can quickly create a website or API without using too complex code.

In the context of the Peemai Shop project you are working on, Flask serves as the following:

1. The main function of Flask (The Engineer)

Flask is like the "engine" of a website that manages the backend:

Routing (Routing): Please tell us that if the customer opens the page / list or if you go to the page / contact, display the contact information.

Template Rendering: Put the retrieved product data into an HTML file (which you composed with Bootstrap 5) to create a beautiful web page for customers to see.

Request Handling: Receive a request from the client's browser and send back a response

2.Flask's role in connecting Google Sheets

Compared to your work now, Flask is the "coordinator," sir:

Retrieve: Flask uses Library requests. Run to Google Apps Script to request product information in JSON format.

Processing: Flask Get JSON to unpack what products are available (using the resulting command .get ("data") we talked about earlier).

Forward: Flask sends that item list to the display screen.

3. Why is Flask suitable for your project?

Minimalism: You can start writing only a few lines in app.py the web and run. Unlike a big Django framework, it needs a lot of settings.

Control: You can easily write a Logic in Python, such as "If a product does not have an image, use a backup image."

Vercel Support: Flask fits very well with Deploy on Vercel, allowing you to open a free and stable online store.

📊 Overview summary

To compare the creation of the web to the opening of the Peemai Shop:

Google Sheets: is a stock warehouse (Database)

Google Apps Script: It's an employee who lifts goods and sends them (API)

Flask: The "store manager" who takes orders, organizes items into the showcase and takes care of all neatness.

HTML / Bootstrap: is the display case and store face that customers can see.

Simply put: Without Flask, the data in your Google Sheets is just a dry table of numbers.

4/27 Edited to

Related posts

What I bought vs what I used it for
Great #ideas from #dollartreefinds #amazingorganization #forthehome #love this!!!
TC World of Hacks

TC World of Hacks

73.1K likes

A flat lay of NCLEX review books, including "The Complete Nursing School" and "Saunders Comprehensive Review for the NCLEX-RN Examination," with text overlay "What I used to study for NGN RN- NCLEX PASSED IN 85."
A screenshot of Archer review showing a progress graph with a "High, Very High, Very, Very High" streak and a list of previous tests, including one with an 80% score.
A screenshot from Archer review displaying a "Prioritization" video module with topics like "ABCs of Prioritization," "Spectrum of Stability," and "Hierarchy of Needs."
What I used to study for NGN RN- NCLEX
#lemon8diarychallenge Now after I graduated I was COMPLETELY burn’t out and the last thing I felt like doing was studying. So did I force myself to study? No, cause I knew I wasn’t gonna retain much. I was also waiting for approval of my application and my ATT number to be able to test. And I
Annie;)

Annie;)

607 likes

The image displays the title "Email Template I used to receive PR" in a stylized font, with "Save it for later" at the bottom right. The background is a blurred image of a desk with items, and the Lemon8 logo with the username is visible.
This image presents "Example 1" of an email template for content creators to reach out to brands for PR or brand ambassador collaborations, detailing a structured approach with placeholders for personalization. The background is a plain light beige.
The image shows "Example 2" of an email template for content creators seeking PR/UGC collaborations, highlighting interest in creating content and mentioning the attachment of a media kit. The background features icy tree branches.
Email templates I used to receive collabs and Pr 🌸
Here’s the templates I used to reach out to brands! One thing I can’t emphasize enough is the importance of consistency and effort. Don’t be discouraged by a small following—there’s no shame in reaching out. You never know what opportunities might come your way! Feel free to use these templates
Totally MicKa| Content Creator

Totally MicKa| Content Creator

377 likes

What I Used 2 Pass Pharmacology
My 1st attempt I made a 71😫 had to drop out My 2nd attempt!! Definitely buckled down!!! #nursing #nursingstudent #nusingschool #pharmacology #lpnstudent #rn #nurseaesthetic
Jas Marie♥️

Jas Marie♥️

701 likes

A MacBook Air desktop displaying custom widgets including a clock, images, a calculator, and a music player. Custom app icons are visible in the dock and on the desktop, illustrating a personalized setup.
A close-up of a MacBook desktop showing various widgets from 'widgetwall,' including a clock, patterned images, a calculator, and the app dock, with pink arrows indicating these elements.
A close-up of a MacBook desktop highlighting the 'Silico' music widget playing David Bowie, alongside other widgets like a clock, patterned images, a calculator, and the app dock.
how I decorate my Mac & what I used🪩🫶🏻
🩷Widgetwall: small, medium, and large pictures as well as weather, calculator, etc! 🩷Silico: silico will sync with your Spotify to creat a music widget right on your desktop! 🩷All of my app icons can simply be looked up on Pinterest, just use a background remover, then copy & paste onto y
riley 🐚🫧🪩

riley 🐚🫧🪩

4653 likes

Ol' School Peach Cobbler Like Grandma Used to Make
Growing older has a funny way of making us appreciate the simple joys of life, like the taste of Grandma's old school peach cobbler made from scratch with fresh peaches and love. The homemade goodness of this cobbler, with its buttery crust, will have you relishing in the flavors of tradition a
Ko-Ko Owirodu

Ko-Ko Owirodu

123 likes

Would you guess what it was used for?
#thrifting #recyclingtips #cleaning #satisfying #thriftfinds
Sv_finds

Sv_finds

889 likes

How I used Food Scraps
#zerowaste #homemade #scrapcooking #lemonade #canning
shay yvonne | homemaker ✝️

shay yvonne | homemaker ✝️

214 likes

A collection of various packaged products, likely beauty or personal care items, with text overlays "ugc haul & pitch" and "HOW TO GET PR WITH ZERO FOLLOWERS," indicating a product haul for user-generated content.
A pile of packaged products serves as a background for text providing advice on writing a compelling email pitch, highlighting what to include about oneself, audience, and fit for a campaign.
Against a background of numerous packaged products, a detailed template for a user-generated content (UGC) pitch is displayed, outlining an offer for posts, engagement, and audience connection.
UGC HAUL & PITCH I USED:
Guys this haul!!! I’m seriously shocked at how well this UGC side hustle is going. Here’s an example pitch to get you started: I’m [Your Name], a [Your Niche] creator with [number] followers on [Instagram/TikTok/etc.], and I love your [product/campaign]. I’d love to create UGC that showcases ho
Jessica Carrie Lee

Jessica Carrie Lee

277 likes

A black cat looks up at the camera with the text overlay 'WEBSITES I USE TO USE BUT NO ONE REMEMBERS' in orange and white letters. The Lemon8 logo and username are in the bottom left corner.
The MapleStory login screen features a cartoon forest background with mushrooms. A wooden interface shows fields for Login ID and Password, along with buttons for 'Login', 'Register', 'Homepage', and 'Quit'.
A screenshot of Gaia Online shows various anime-style avatars interacting in a virtual town square with a fountain. Chat bubbles display user names and messages, with 'Gaia online' prominently displayed at the top.
old sites I used to use
I was born in the 90s so out of boredom I wanted to share these. surprisingly everyone I mostly talk to doesn't know these exist other than like 3 of them but here is what I remember... ❤️maple story - it was an RPG it was ok I didn't use much much because I wasn't into fighting games
Bear8art

Bear8art

1319 likes

5 commonly used practices I learned were not of ✝️
💁🏽‍♀️💭When I came to the revelation of these routinely used practices I was shocked, but now that I know better I am doing better😌 I took my time to understand and I gave God the opportunity to minister to me in spirit. This post is to encourage you to do the same in relationship with your Father L
Sips of Sweet T

Sips of Sweet T

454 likes

An open Bible with the title "Apps I use to Study my Bible" and "MY APP RECS" overlaid. The Bible text shows sections like "WIND AND WAVES OBEY JESUS" and "THE SON OF MAN FORGIVES AND HEALS" from Matthew.
Apps I used to help me study the Bible!
Bible App: I used this just in the go, but it also helps to reference other translations as well Enduring Word Commentary: This app literally breaks down every single verse in a passage. It really helps to me to be able to understand by putting everything into context My Prayer Room: I don’t
Yolanda 🫶🏽✨

Yolanda 🫶🏽✨

743 likes

A flat lay of four different journals on a light blanket, including a dark brown leather journal, a beige "Thoughts of Sorts" journal, a dark green 2024-2025 planner, and a light brown journal with gold geometric patterns, illustrating the author's most used journals.
A hand holds a light brown journal with intricate gold geometric patterns, identified as "MY WEEKLY DIARY," used for daily thoughts, feelings, and goals.
A hand holds a dark brown leather journal with a metal clasp and blue stone, featuring embossed designs, identified as "MY JUNK JOURNAL" for creative collages.
My Most Used Journals and Why!!
I have many journals and although all of them our great these 4 are what works best for me!! i used to feel like i had too many thoughts in my head and i needed to let them out somewhere. journaling is a wonderful way of doing that!!! It helps you gather your thoughts and bring them to your attenti
Harley Henry 💋✨

Harley Henry 💋✨

150 likes

How I used ChatGPT to find my color analysis🎨🌈
I have been seeing color analysis ALL OVER social media so I decided to use AI to help me out! Use these simple 3 steps to find your color season🎨 Have you tried this? Let me know in the comments✨ #softautumn #coloranalysis #chatgpt #ai #coloranalysistest
Alex G🧠✨🪩

Alex G🧠✨🪩

1930 likes

Things to note when buying a used car
#car #tips #driving #DIY
修车师妹

修车师妹

32 likes

I Used It to Manifest My Dream House in Bali
This is how I scored my $250/mo house in Bali. ✨HOW IT WORKS Write your desire 9 times in the morning and 9 times in the evening. Do this consistently for 9 days in a row. Keep the wording clear, specific, and in present tense. Example: Instead of “I want an affordable house,” I wrote, “
Abby

Abby

573 likes

What I used with my sick baby
CHECK ON YOUR FRIENDS WITH SICK BABIES!!! Everything either came from TARGET or AMAZON ! After we were in the clear with her of course mommy got sick and after that my body crashed for two days !!! #embracevulnerability #sickremedies #babycold #newmomlife #momsoflemon8 #momsicktips
Miah Fields

Miah Fields

488 likes

A smiling woman with braided hair sits on a couch with a bowl of food in front of her. Overlay text reads "SPANISH phrases that helped me in MEXICO," introducing the article's topic.
A woman stands on a cobblestone street lined with cars and buildings, with colorful decorations overhead. Overlay text shows the Spanish phrase "cuanto cuesta?" meaning "how much does it cost?"
A woman walks down a street adorned with colorful papel picado banners. Overlay text displays two Spanish phrases: "un cafe caliente con leche por favor" (a hot coffee with milk please) and "tienes leche de avena?" (do you have oat milk?).
Spanish phrases I used in Mexico!
Honestly y’all, I could not believe how much Spanish I remembered when I went to Mexico for vacation! I’ve always said that the brain can refresh its language memory so well when it hears it and speaks it all day long. I was able to communicate (sometimes a bit brokenly) at the airport, to get ta
Anaïs D’Ottavio

Anaïs D’Ottavio

500 likes

apps i used to create my YouTube video! 🎥💡📸
Channel Handle: itsgillianmae Please subscribe, it would mean so much to me! 🪐 🎥Camera: iPhone 13 Pro Max 🎧Editing software: CapCut (Pro) 🪄Thumbnail: Canva 📱Intro/Outro: Canva 🎵No Copyright Music: YouTube Audio Library #youtubeideas #youtuberecommendations #youtubevideoideas #yo
Gillian Mae🧿

Gillian Mae🧿

332 likes

And what I used to
#lemon8diarychallenge trying something new!!! #clayprojects #clayideas #crafts #claydiy
Rosie2_u

Rosie2_u

509 likes

Used AI to make Shrimp Cheung Fun-Rice Noodle Roll
Using AI to make Shrimp Cheung Fun (Cantonese Rice Noodle Rolls) 🍤 I usually use potato starch to make Cheung fun but since I didn’t have any, I turned to Microsoft copilot to help me find a recipe with tapioca starch instead. The result was excellent! The rice noodles were silky and thin similar t
Sikfan Kitchen

Sikfan Kitchen

129 likes

A collage showcasing an author's website created with Canva, featuring sections like Home, About, Services, Feedback, and Contact. It includes a photo of author Andrielle Giscombe and character art for 'Lotus of Obsession'.
The author's website 'Home' and 'About' pages, featuring Andrielle Giscombe's headshot, character spotlight for 'Lotus of Obsession' with Izaak Lin and Aura Grant, and a Kindle customer review.
The author's website 'Rave Reviews' and 'Reviews & Quotes' sections, displaying Kindle customer feedback, the 'Lotus of Obsession' book cover, and a brief author bio with astrological signs.
How I used Canva to Create my Author Website.
I f*cking love Canva. Their templates eat the girls up every time. While looking for an authors page template I couldn’t find one that I like, so I decided to get creative. I’m into the end result, real bad. 🤞🏾👅😈 What have you used Canva for? SN: check out my book #lotusofobsess
andrielle, the oracle chef

andrielle, the oracle chef

67 likes

Clinicals Essentials I ACTUALLY Used
A few of the essentials I use for clinicals Of course we buy alit of things that we do not need BUT here are a few that I’ve bought and actually use during Clinicals. However there are a few more things that I do it currently have that I’ve added to my cart to purchase. 🛍Brand: All From
Jas Marie♥️

Jas Marie♥️

1197 likes

Products I Used To Cure My Alopecia : Part 1
I have been battling alopecia for years until i decided to pray about it and do something about. Through my time of research and prayer i created products that work for my hair and treated my scalp. With our alluring hair growth oil you can do just that. Comment below if you would like to be added
Keynada Smith

Keynada Smith

178 likes

Most Used Sustainable Swaps In My 20s
The sustainable swaps that have saved me the most amount of $$ and waste in the past two years in my kitchen. Remember to use what you have first and only invest in these alternatives if you will actually use them! ❤️✨ #sustainability #sustainableliving #consciousconsumer #sustainables
Alyssa Barber

Alyssa Barber

319 likes

my most used apps on my ipad ⭐️🤍
im pretty much always on my ipad and you can find me usually on one of these fice apps at any ooint in the day! i really just love having the ability to plan digitally just because its so easy to upload photos and stuff like that :) ⭐️ Pinterest (free): visualize, inspire, and create ⭐️ Notion
ayersellie

ayersellie

460 likes

How I used my daily planner ‼️
Digital planning keeps me organized and on track with my goals every day! ✨ It’s my go to tool to see where I am, where I’m heading, and what I need to adjust. So far, it’s been a game changer and I’m already planning tweaks for February to make it even better! How do you stay organized and track y
Milaidy🫧🌺🍕

Milaidy🫧🌺🍕

17 likes

See more