Building Better Apps
Back in October, I wrote about using Gemini to help write embed code to let you build custom widgets for Google Sites. Since then, I've learned a lot more about building custom content through Google products. Instead of creating widgets that provide one-way data, I learned how to create full apps that allow for back-and-forth data. What does that mean? If I have a vocabulary app, instead of just being something where students can practice, I can have it save their results so I can see them!
I won't dive too deep into complex apps because it's the day before a holiday break...so let's focus on something more fun. Last year, I used Canva AI Code to build some daily puzzles for our library website. I had a plan to regularly check the stats and give prizes, but it wasn't easy to manage. The data lived in a Canva sheet and there was a separate sheet for each game. So I just left the games on and people could track their own stats via entering their email address. But in theory, anyone could enter any email address and play as that user. It wasn't a major security flaw because they were just games, but it was something that always bothered me. So this weekend, I decided to see if I could rebuild those same puzzles into one cohesive app that allows for automatic sign-in, stats tracking, and even ranking. Using a combination of a single Google Sheet, an Apps Script connected to that Sheet, and Gemini, I was able to build this new page:

The games work the same as the original versions, but now they are all together in one app with combined statistics. Londonderry.org users are able to save their stats while guest users get a completely different puzzle to avoid cheaters logging in as a guest first to find the answers (the AI gave me that suggestion!)
The "how-to" portion of this is obviously a little complex, so I have a few options for you. If you'd like to dive right into Gemini yourself, I had AI create a template prompt you can start with based on my own prompts. It includes all of the features I usually ask for when I build an app, so you can feel free to add, subtract, and edit as needed. It's long, but it's comprehensive. I will paste it at the bottom of this post. If you'd prefer to have your hand held a little as you build, I created a SchoolAI Space designed to walk you through the process.
Here are some other ideas that I've created in just a few short weeks:
Bus arrival tracker
Snack order/delivery
Appointment scheduler
PD resource tracker
PDF editor
Tardy/detention manager
And here are some that are bouncing around in my head:
Library sign in/data tracker
Interdisciplinary vocabulary app
Standardized test prep
The key to all of these is to start with a problem and then be willing to think big. The only way to know if something is possible is to ask. When I build something for someone else, I start by asking them..."in a perfect world, what would this app do/what would it look like?" Start from there, use your imagination, and see what you can create! As always, reach out for support...I am having so much fun creating!
Starter Prompt:
I'm a teacher at [SCHOOL NAME], and I am not a professional programmer. I want your help building a web app with Google Apps Script, using a Google Sheet as the database. Please act as a patient coach: I will do every step myself, and I want to understand what I'm doing. ABOUT THE APP - What I want to build: [ONE OR TWO SENTENCES, e.g., "a sign-up form for students to reserve a time slot for after-school help"] - Who will use it: [e.g., students, teachers, staff, only me] - What they need to be able to do: [LIST 3–5 THINGS, e.g., "pick a date," "see open slots," "cancel a reservation"] - What it replaces today: [e.g., "a paper sign-up sheet," "a Google Form," "emails"] - Information it will store: [e.g., names, emails, dates, room numbers] - Does it store student information? [YES/NO — if yes, what?] - Should anyone get an email when something happens? [e.g., "email me when someone signs up," or "no"] - Our school's Google domain: [e.g., myschool.org] - Admin (the person who manages the app): [YOUR SCHOOL EMAIL] RULES FOR HOW TO BUILD IT 1. Use only Google Apps Script and Google Sheets. No outside websites, paid services, or API keys unless you ask me first. 2. Privacy matters. Treat all data as protected student/staff information (FERPA): - The app should be deployed so only people in my school domain can open it, running as me, so the spreadsheet never has to be shared with users. - Users sign in with their school Google account. No separate usernames or passwords. - Check permissions on the server (in Code.gs), not just by hiding buttons. - Only send each user the data they're allowed to see. - Collect only the information the app truly needs. Suggest less if you can. 3. Include an admin page only admins can see, where I can: - add or remove other admins, - see simple usage stats (visits, unique users, most-used features), - change settings (dates, on/off switches, dropdown options) without editing code. 4. Include a "setup" function that creates all the sheet tabs and headers for me. 5. Make it clean, friendly, and easy to use on a Chromebook and a phone, with clear messages when something saves or goes wrong. HOW TO WORK WITH ME 1. Don't write any code yet. First, ask me any questions you need answered. 2. Then give me a plain-language plan: the screens, the sheet tabs and columns, who can see what, and the build broken into small phases. Wait for my approval. 3. Build one phase at a time. Each phase should work and be testable before we move on. 4. Give me step-by-step directions: exactly where to click, what to paste, and where. Briefly explain what each piece does. 5. When something changes, give me the COMPLETE file or function to replace and tell me exactly which one. Never say "the rest stays the same." 6. Tell me whenever I need to create a new deployment version or re-authorize. 7. After each phase, give me a short checklist of what to test. 8. If I paste an error, explain what went wrong in plain language, then give me the fix. 9. Suggest helpful features I haven't thought of, as a separate list I can say yes or no to. |

Comments