Web Development courseLesson 20 of 20 · tap to see all lessons
Web Development · Beginner
Final Full-Stack Project: Plan, Build, Test, and Deploy a Next.js and Supabase Web App
Bring the whole course together: plan a full-stack web app with your team, build it with Next.js and Supabase, test it, deploy it, and present it with confidence.
- Qyubie Learn Editorial Team
- Published
- 8 min read
Over nineteen lessons you've built every layer of a web application: pages with HTML and CSS, interactivity with JavaScript and React, routing with Next.js, data with SQL and Supabase, an API, accounts and security, tests, and a live deployment. The final project puts them together into one app that solves a real problem, built by your team the way professional teams work.
This lesson is a guide for planning and running the project. Your instructor's project instructions and grading criteria come first: where they differ from this guide, follow them.
By the end of the project you will have:
- planned an app from a real problem: users, features, and data,
- built it with Next.js, Supabase, and Tailwind CSS through a GitHub team workflow,
- tested it against a written test plan,
- deployed it with a production database, and
- documented and presented it.
Choosing a problem
The best projects start with a real person who has a real problem, ideally someone you can talk to. Look around your school, family, organization, or barangay. Some starting ideas:
| Idea | Users | Core data |
|---|---|---|
| Org event manager: events, sign-ups, attendance | officers, members | events, registrations |
| Lost and found board for campus | finders, owners, admin | items, claims |
| Canteen pre-order: order ahead, pick up later | students, canteen staff | menu items, orders, order items |
| Equipment borrowing for a lab or department | borrowers, custodians | equipment, borrow requests |
| Barangay document requests: request a clearance, track its status | residents, staff | requests, document types |
| Thesis or capstone tracker: milestones and adviser feedback | students, advisers | projects, milestones, comments |
Whatever you choose, check it against these questions:
- Who uses it, and what are the two or three things they most need to do?
- What data does it store, and how are the tables related?
- Who may see and change each kind of data? (This becomes your RLS policies.)
- Can your team build the core of it in the time you have? Choose small and finished over big and broken.
What the app should include
A complete project shows every part of the course. Use this as a checklist:
| Area | Minimum | Lessons |
|---|---|---|
| Pages and layout | several pages with a shared layout and navigation, using the App Router | 2, 3, 12, 14 |
| Styling | consistent design with Tailwind CSS (or a component library), mobile first | 3, 14 |
| Interactivity | client components with state where it helps (filters, toggles, forms) | 6, 7, 13 |
| Database | at least two related tables with primary and foreign keys and constraints | 9, 16 |
| CRUD | create, read, update, and delete for the main data, with validation and clear errors | 15, 16 |
| API | at least one Route Handler, or one external API used in a meaningful way | 10, 15 |
| Accounts and security | sign-up, login, logout; protected pages and actions; RLS so users reach only what they should | 17 |
| States | loading, empty, and error states on every data view | 15 |
| Testing | a written test plan you've run, plus some automated tests | 18 |
| Deployment | live on the internet with a separate production database | 19 |
| Documentation | README with setup steps, .env.example, schema.sql | 19 |
Extras that make a project stand out, once the minimum works: search and filters, file uploads with Supabase Storage, roles (for example "admin" and "member" with different policies), email notifications, charts of your data, or an accessibility score you can show.
Planning: before writing code
A day of planning saves a week of rework. Produce these, and keep them in your repository's docs/ folder or README:
- Problem statement: one paragraph. Who has the problem, what it is, how they handle it today, and how your app helps.
- User stories: short sentences in the form "As a [user], I want to [action] so that [benefit]." For example: "As a canteen staff member, I want to see today's orders sorted by pickup time so that I can prepare them in order." Mark each one must have or nice to have.
- Data model: your tables, columns, types, keys, and relationships, as a diagram (an ERD) or a list. Write the first version of
supabase/schema.sqlfrom it. - Access rules: for each table, who can select, insert, update, and delete. For example: "Members can read published events. Only officers can create events. Each member can see only their own registrations."
- Page map: the list of pages (routes) and what each shows. Sketch the main screens on paper first, phone size.
- Task board: split the must-haves into tasks (one task ≈ one branch ≈ one pull request) and assign them. GitHub Projects or Issues work well.
Working as a team
- Divide by feature, not by layer. "Ana builds events from database to page" teaches everyone more, and creates fewer blocked teammates, than "Ana does all database work, Ben does all pages".
- Agree on conventions on day one: folder structure, naming, how you write commit messages, who reviews what.
- Set up the skeleton together first: the Next.js project, Supabase projects, environment variables, the layout, login, and the first deployment. After that, everyone can work in parallel on their own branches.
- Every change goes through a pull request with a teammate's review (lesson 19). Deploy previews make reviews easy.
- Meet briefly and often: what did you finish, what's next, what's blocking you?
- Share the knowledge. Each member should be able to explain every part of the app, not just their own.
Suggested milestones
Adapt this plan to the weeks you have:
| Milestone | Done when |
|---|---|
| 1. Proposal | problem statement, user stories, data model, access rules, and page map are written and approved |
| 2. Skeleton | repository with README; Next.js app deployed; dev and production Supabase projects; login and logout work on the live site |
| 3. Core features | the main CRUD flows work end to end with validation, RLS, and loading/empty/error states |
| 4. Complete | all must-have stories done; responsive; test plan written and run; automated tests pass |
| 5. Polish and present | bugs fixed, README complete, production data cleaned of test records, demo rehearsed |
Deploy from milestone 2 onward. Teams that deploy only on the last day discover environment, URL, and database problems when there's no time left to fix them.
Before you submit: a self-check
Go through this list as a team. Each "no" is something to fix:
- The live site works on a phone and a laptop, with no console errors.
- A new user can sign up, confirm their email (the link opens the live site), and log in.
- Every page that shows data has loading, empty, and error states.
- Every form validates on the server, keeps the user's input on errors, and explains problems in plain words.
- A second account cannot see or change the first account's private data. (Try it.)
-
pg_policiesshows nousing ( true )write policies, and RLS is on for every table. - No secrets are in the repository or in
NEXT_PUBLIC_variables. -
npm run buildpasses;npm testpasses. - The README lets a classmate run the project from scratch.
- Every team member can explain any part of the code, including code written with AI help (lesson 18).
Presenting your project
A good demo tells a story, not a tour of every button:
- The problem (one minute): who has it, and why it matters.
- The live demo (most of your time): walk through the main user stories on the live site, as a real user would. Show one thing going wrong and how the app handles it, such as an invalid form or a second user who can't see private data.
- How it's built (a few minutes): your data model, one security rule, and one interesting piece of code.
- What you learned and what's next: honest challenges, and the features you'd add with more time.
Prepare test accounts and sample data in advance, rehearse with a timer, and have screenshots ready in case the internet fails.
Common mistakes
- Choosing a project too big to finish, instead of a small one done well.
- Starting to code before designing the data model and access rules.
- Deploying for the first time on the last day.
- One person merging everything without reviews, or teammates working on
main. - Testing only with your own account, so permission bugs go unnoticed.
- Leaving test data, practice policies, or secrets in production.
- Team members who can't explain the parts of the app they didn't write.
Summary
- Start from a real problem and real users; keep the scope small enough to finish.
- Plan first: problem statement, user stories, data model, access rules, page map, and tasks.
- The app should cover the whole course: pages, styling, interactivity, a relational database with CRUD, an API, authentication with RLS, all four data states, testing, deployment, and documentation.
- Work in feature branches with reviewed pull requests, and deploy early and often.
- Check everything with the self-check list, then present the problem, a live demo, how it's built, and what you learned.
Congratulations on finishing the Web Development course. You can now take an idea all the way from a blank folder to a secure, live web application. Keep building.