Build a Cohort Enrolment and Payments Platform with Next.js, FastAPI, PostgreSQL and Redis
Group: Business Requirement
Product Category: Software Engineering
Sub Category: Full Stack Engineer
What's Included in the Project
Solution Code
Complete code, datasets and files for the project.
Interview Q&A
1 set · 79 questions on this project.
1:1 Mentorship
1 expert mentor to guide you.
Certificate
Awarded when you complete the project.
Estimated Building Hours
20 hours to build, at your own pace.
Everything above unlocks once you purchase and stays with you for life. The interview Q&A is about this project itself, not a general question bank for its tech stack.
Prerequisites
About this Product
Build a Cohort Enrolment and Payments Platform with Next.js, FastAPI, PostgreSQL and Redis is a full-stack business capability lab that builds Lanternway Enrol, an enrolment, payment, refund, and course access platform for a fictional online academy. A learner applies, a reviewer approves, a 15-minute seat hold starts, and the learner pays through a local Pay Simulator. Seats are never oversold under concurrent checkouts, and a repeated request or webhook never double-charges, double-enrols, or double-refunds. State changes are published through a transactional outbox, with retries and a dead letter queue. It runs locally, with Docker and Redis optional and no real payment gateway or card data.
With this product, you'll build a platform that can:
- Serve a cached course and cohort catalogue with live seat counts and invalidation on change
- Take applications with idempotency keys, and let reviewers approve or reject them
- Hold a seat for 15 minutes on approval using a row lock, so 50 concurrent checkouts for 10 seats confirm exactly 10
- Start checkout with a server-set price and run payments against a Pay Simulator with success, decline, duplicate, and slow outcomes
- Verify signed webhooks with HMAC and a timestamp window, and process each provider event once
- Grant and revoke course access from payment, renewal, and refund outcomes
- Run monthly subscriptions with dunning retries before suspension
- Compute refunds by day tier, with finance approval, admin approval for large refunds, and no self-approval
- Write every state change and an outbox event in one transaction, relay it to Redis Streams or a database queue, and move failed events to a DLQ after 5 attempts
- Keep running with no Redis, and recover with no lost events after a worker outage
- Add role-based access, an audit log, masked JSON logs, metrics, health probes, and five Next.js screens
Building this product gives you hands-on experience in:
- Concurrency control
- Idempotent integration
- Reliable messaging
- Caching
- Full-stack delivery
It uses Next.js, React, TypeScript, Tailwind, FastAPI, Pydantic, PostgreSQL, psycopg 3, Redis (optional), structlog, pytest, and Vitest, and runs on Windows, macOS, or Linux with Python and Node.
Why this product matters: payments and enrolment are where real systems fail, through double charges, oversold seats, and lost events. This lab teaches how to make every money-moving step safe to retry and explain any decision from the logs.
Interview Q&A Included
1 practice set bundled with this lab
These questions are about this project. They cover how the project is built and the decisions behind it, so you can talk about it confidently in an interview. They are not a general question bank for the tech stack it uses.
-
Enrollment and Payments Platform with Next.js and FastAPI Assessment
Category: Software Engineering Subcategory: Full Stack Engineering 79 questionsThis assessment checks what you learned while building Lanternway Enrol, a cohort enrolment and payments platform with Next.js, FastAPI and PostgreSQL. It has five groups: business scenario and rules, payments, …
Resources
Topics
Skills
Languages
English
Level
Advance
Business Domain
Education Enrollment and Payments
Project Mentors
Labs • Projects • Practice
Similar Products
> more hands-on labs picked for you_
Build a Property Valuation Mart with dbt and Data Contracts
A property analytics team prices homes from scattered extracts, and every team calculates median price per square foot differently.What you …
Level
Advanced
Time
28.0 hrs
Language
English
Build a Governed OEE KPI Layer with dbt and DuckDB
Plant managers compute OEE in their own spreadsheets, so figures disagree and machine reassignments rewrite history.What you buildRaw load and …
Level
Advanced
Time
24.0 hrs
Language
English
Build a Governed Multi Agent Content Publishing Workflow with FastAPI and SQLite
Build a Governed Multi-Agent Content Publishing Workflow with FastAPI and SQLite is a GenAI business capability lab that builds Marquee …
Level
Advance
Time
16.0 hrs
Language
English
Build an Ad Delivery Assistant with Hybrid Retrieval and Guardrails
Ad operations analysts lose hours reconciling campaign delivery against insertion order terms and make-good policy before they can say what …
Level
Advanced
Time
16.0 hrs
Language
English
Build a Governed KYC and AML Lakehouse with DuckDB and PostgreSQL
Banking teams cannot prove where KYC, AML and regulatory data came from, who can see it, or whether a bad …
Level
Advanced
Time
24.0 hrs
Language
English
Build a Cited Restock Assistant with Hybrid Retrieval and SQLite
Planners handling late supplier orders lose money when an answer quotes a superseded clause or skips buyer approval.What you buildAsk …
Level
Advanced
Time
8.0 hrs
Language
English
Build a Grounded Learning Copilot with Hybrid RAG, Guardrails and FastAPI
Grounded Learning Copilot with Hybrid RAG, Guardrails and FastAPI is a GenAI capstone that builds Lumenpath, a grounded course assistant …
Level
Advance
Time
48.0 hrs
Language
English
Build a Last Mile Delivery Copilot with RAG and Context Engineering
A parcel company's care agents answer delivery questions by searching policy and shipment records, and one unsupported promise or wrong …
Level
Advanced
Time
36.0 hrs
Language
English
Build a Context Aware Streaming Copilot with RAG and Reranking
Subscribers reporting buffering, black screens or region blocks leave support agents searching scattered runbooks, CDN notes and entitlement policies while …
Level
Advanced
Time
16.0 hrs
Language
English
Build a Full Stack Student Analytics Platform with React and FastAPI
Course advisors at a mid-size EdTech provider currently discover student withdrawal risk only when it's too late to act; there's …
Level
Beginner
Time
16.0 hrs
Language
English
Build a Governed Ride Copilot with Multi Model Routing
Dispatchers and city managers ask operational questions about rides and surge pricing, and an answer with no cited source or …
Level
Expert
Time
24.0 hrs
Language
English
Build a Property Operations Agent with Approvals and Durable Workflows
Facilities teams managing many commercial buildings receive faults all day, and an AI agent that acts on them must never …
Level
Expert
Time
90.0 hrs
Language
English
Expert Guidance
Similar Services
1:1 help from industry experts who can guide you through labs like this one.
Finding the best experts for you...
No Services Yet
Expert services for this product will appear here once available.
Learner Feedback
Top User Reviews
Loading reviews...
Be the first to review this product!
Please try refreshing the page.