Looking for the first job
Learn to code by building a trip expense splitter
A trip expense splitter where friends add what each of them paid, and it shows who owes whom at the end
This is the path the studio planned from the idea above. Yours is planned from your own words and from what you already know, so its steps will be your own.
Planned for: Knows some HTML, CSS and JavaScript but has not built a full project · 20 hours a week · HTML, CSS and JavaScript, then Node and Express
Your first version
Trip Tab
A simple trip expense splitter for friends to record payments and see who owes whom.
What the studio would build first, and what it sets aside, read from the idea the way your own project's would be.
What it keeps
- Add expensesAdd who paid, how much, what it was for, and which friends were included.
- Manage trip friendsCreate a trip and add or remove the friends who share its expenses.
- View the expense listShow the trip expenses as a clear list that updates whenever the data changes.
- See who owes whomSplit each expense fairly and show the smallest set of payments needed to settle the trip.
- Save the trip in the browserKeep the trip, friends, and expenses after closing or refreshing the page, with clear validation and error states.
Later in your path
- Sync trip expenses to a serverReplace browser-only saving with an Express API so everyone using the same trip link can load and update the same expenses.With a server
- Add private user accountsLet users sign in and store trips in MongoDB so each signed-in user can access only their own trips.With a database and accounts
What it leaves out, and why
- Multiple currenciesVersion 1 should use one currency so the balance calculation stays easy to trust.
- Receipt photo uploadsFile uploads need a different storage plan and are not needed for the core calculation.
- Email reminders and notificationsAccounts, background jobs, and email services would distract from the first working version.
- Bank or card importsThese integrations require outside services and security work that is too large for this project.
Your path
30 steps, about 27 hours
- 1 Set up the Trip Tab forms 1
- 2 Show clear form feedback 1
- 3 Add friends and expenses 1
- 4 Show expenses and spending totals 1
- 5 Keep the trip after reloading 1
- 6 Add a project guide 1
- 7 Show why Trip Tab needs a shared server 2
- 8 Prepare Trip Tab for server work 2
- 9 Run Trip Tab from your server 2
- 10 Serve the Trip Tab page 2
- 11 Set rules for Trip Tab expense requests 2
- 12 Show expenses from your server 2
- 13 Add full expense actions to Trip Tab 2
- 14 Save Trip Tab expenses on your server 2
- 15 Show what a server restart clears 2
- 16 Keep Trip Tab expenses after a restart 2
- 17 Show clear errors for bad expenses 2
- 18 Prepare Trip Tab for server requests 2
- 19 Improve the Trip Tab sync experience 2
- 20 Show why Trip Tab needs a real database 3
- 21 Give expenses a clear MongoDB shape 3
- 22 Move Trip Tab's expenses into MongoDB 3
- 23 Keep trip expenses in MongoDB 3
- 24 Let visitors create an account 3
- 25 Log in and keep the session 3
- 26 Connect trips and their expenses 3
- 27 Keep each person's expenses private 3
- 28 Run Trip Tab like a production server 3
- 29 Connect accounts to the whole Trip Tab page 3
- 30 Show and tell the Trip Tab story 3
In the browser
Your server
Where data lives
What you will have proved
53 concepts
Every concept is one the path teaches, in the order it teaches them, after the ones it needs first.
- Slice your idea into a first version
- Forms and inputs
- Hover, focus, disabled and error states after Forms and inputs
- Functions
- Handling what can go wrong after Functions
- Reading and validating form input after Forms and inputs
- Arrays after Functions
- Loops after Arrays
- Objects after Arrays
- JSON after Objects
- Totals, sorting and grouping after Arrays, Objects
- Rendering a list from data after Objects
- Single source of truth after Rendering a list from data, Reading and validating form input
- Saving in the browser with localStorage after JSON, Single source of truth, Handling what can go wrong
- What a repo and a commit are
- Write a README after What a repo and a commit are
- Explain your project out loud
- Why your app needs a server after Saving in the browser with localStorage
- Meet your workbench after What a repo and a commit are, Why your app needs a server
- Terminal basics after Meet your workbench
- npm and package.json after Terminal basics
- Splitting code into modules after npm and package.json, Why your app needs a server
- Asynchronous code after Functions, Why your app needs a server
- Git in your workbench after What a repo and a commit are, Terminal basics
- How HTTP works after JSON, Why your app needs a server
- Calling an API from the browser after Asynchronous code, How HTTP works
- What a REST API is after How HTTP works
- Node: JavaScript outside the browser after npm and package.json, Splitting code into modules
- Your first Express server after Node: JavaScript outside the browser, How HTTP works
- Configuration and secrets after Your first Express server, Git in your workbench
- Middleware, static files, errors after Your first Express server
- Serve the page you built, untouched after Middleware, static files, errors
- Write your API's contract and try it after What a REST API is, Your first Express server, Serve the page you built, untouched
- Keep data in memory and answer from it after Write your API's contract and try it, Middleware, static files, errors
- CRUD API for your resource after Middleware, static files, errors, Keep data in memory and answer from it, What a REST API is
- Move your app from localStorage to the API after CRUD API for your resource, Calling an API from the browser
- Keep data in memory and watch a restart wipe it after Move your app from localStorage to the API
- Reading and writing a JSON file after Node: JavaScript outside the browser, Asynchronous code, Handling what can go wrong, Keep data in memory and watch a restart wipe it
- Validate on the server after CRUD API for your resource, Reading and writing a JSON file
- What a host needs from your server after Move your app from localStorage to the API, Configuration and secrets, Validate on the server
- Ship, get feedback, adjust after Slice your idea into a first version, What a host needs from your server
- Why a JSON file is not enough after CRUD API for your resource, Reading and writing a JSON file
- MongoDB: your first real database after Why a JSON file is not enough, Configuration and secrets
- Schemas and models with Mongoose after MongoDB: your first real database
- CRUD with MongoDB after Schemas and models with Mongoose, Validate on the server
- Signup with hashed passwords after Schemas and models with Mongoose
- Login and protected routes after Signup with hashed passwords, Middleware, static files, errors
- Relating documents after CRUD with MongoDB, Login and protected routes
- Users only see their own data after Login and protected routes, Relating documents
- Run it like production after CRUD with MongoDB, Configuration and secrets, Git in your workbench, What a host needs from your server
- Frontend and backend together after Run it like production, Move your app from localStorage to the API
- Portfolio and project story after Frontend and backend together, Write a README
- Interview on your full-stack project after Explain your project out loud, Users only see their own data, Frontend and backend together
What the checker will ask of you
Each step is checked when you press Check: in a real browser, or by starting your server and making requests. These are the first checks on this path.
index.html names the app as Trip Tab.
A JavaScript function displays a short first-version plan on the page.
Adding a friend reads the form values and creates a friend object with a name and email.
What people ask
What does it cost to build this?
Your first build is on us: one project, the phase in the browser, with the AI to build it. To start it, your bank puts a ₹1 hold on a card; it is released and never charged. Studio access is ₹6,999 once and opens every phase for 6 projects; nothing renews.
What do I need?
A browser and a card for the ₹1 hold. Nothing to install: the browser steps run in a live preview, and the server steps run in a private workspace of your own, with a terminal and git and your own MongoDB.
How long does it take?
This path is 30 steps, about 27 hours: at 20 hours a week, about 2 weeks. Your own path is planned from your idea and sized to what you already know.
Do I keep the code?
Yes. Every step you pass is kept, and you can download the whole project as a git repository with one commit for each step, or publish it to your own GitHub. The code is yours.