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

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 ✝️

215 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♥️

700 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

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

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

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

278 likes

why i take notes as someone who used to hate them🌟
honestly taking notes would always be something that i would procrastinate over, but once i got over that curve they are actually my fav part of studying! 🌟1. I started high school in covid which meant that my first introduction to more lecture-based classes was over Zoom, which meant that it w
may

may

403 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

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 🐚🫧🪩

4656 likes

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

Rosie2_u

509 likes

3 Apps I used to make over $700 online!
Lemon8 is also a app I use but I didn't list it because I'm posting here but don't sleep on this app! I actually gained more sales on here then when I was on Facebook! Facebook groups are cool too but it's saturated and a lot of competition to me. #digitalproductsforbeginn
NoFaceAllBags

NoFaceAllBags

570 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

125 likes

A smiling woman with long brown hair and freckles, with text overlay "How I used ChatGPT for my color analysis" and color swatches on the right.
A smiling woman with long brown hair and freckles, with text overlay "Step 1 Take pic in natural light" indicating the first step of the color analysis process.
A digital interface showing a color picker tool, with text overlay "Step 2 Use color picker to find hex codes for skin tone, eye color, and hair color."
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

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

575 likes

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

修车师妹

33 likes

The Stone I used for Amnesia & Schizophrenia
A few years ago a stressful lifestyle caused me to mentally shatter. I found myself at my job in the break room not knowing what to do next or how to do it, what my name was or who I could call. I recall scrolling thru my contacts and came across ‘Daddy.’ I couldn’t assign a face to the contact but
Topaz DopeAzz

Topaz DopeAzz

23 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

180 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

490 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

325 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

68 likes

A person with a full face of makeup, looking directly at the camera. The image has text overlay indicating it will show products used to create the look.
Two base makeup products, a primer and a liquid foundation, are displayed on a marble surface. Text indicates these are for the base makeup step.
Two bronzer products, one cream and one powder, are shown on a marble surface. Text indicates the transition from cream to powder bronzer.
Products I used to achieve this look ✨
Wondering what the best products are for a glowy full beat look?? - I have the perfect ones for you!!! Makeup tips to help recreate: - Let any skin prep sit for 15 minutes minimum - allow your primer to get tacky before applying any foundation - Only use pressed powder at the very end of
Sophia Tucker

Sophia Tucker

38 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