StaffCoder
MERN

MERN Stack Practice Exercises

React 19Express 5Node 24
4 modules · 16 challengesSign up
Modules4 modules · 16 challenges
Design the shape of your data before anything else touches it. You'll define schemas with the right field types, defaults and validation, embed related records where they belong, and control exactly what the API sends back - so bad data is rejected at the model rather than caught three layers later.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Marketplace Listing Schema

Sign up to unlock
75%3 of 4 solvedeasy
About this challenge

Build the data rules behind an online marketplace where people post items for sale. You'll make sure every listing keeps a clean, correct price, only allows valid item conditions (like new or used), and gets its own unique ID automatically - the kind of behind-the-scenes rules that keep a shopping site trustworthy and tidy.

Solved in a browser IDE and graded by tests. Sign up to solve

Course Catalogue Schema

Sign up to unlock
100%2 of 2 solvedeasy
About this challenge

Build the rules that keep a school course catalogue honest —-each school runs its own courses (codes can repeat across schools, never within one), retired courses free their codes for reuse, seats and credits stay in sensible limits, and sign-up dates can't close before they open.

Solved in a browser IDE and graded by tests. Sign up to solve

Workout Session Log

Sign up to unlock
100%2 of 2 solvedeasy
About this challenge

Build the data model for a workout-logging app: store each session's sets, validate them, surface the heaviest lift, and return clean data.

Solved in a browser IDE and graded by tests. Sign up to solve

Streaming Series Catalogue Model

STAR
Solving it completes the module
100%2 of 2 solvedeasy
About this challenge

A back-office catalogue for a streaming service — add TV shows with their genre, season, and episodes, then look them up by show or by season.

Solved in a browser IDE and graded by tests. Sign up to solve

About this path

Build MongoDB, Express, React and Node into one connected stack, with backend and frontend in every repo. You'll start from single models and components and work up to small working applications - portals, consoles, dashboards. Along the way you'll handle what only appears once the two halves meet: relationships, access rules, server-driven lists, and the performance problems that arrive with scale.

This path covers the MERN stack from the database up: Mongoose schemas and models, Express REST endpoints, querying and shaping data, and fetching and rendering it in React. You should know modern JavaScript and the basics of React before you start. No earlier MongoDB or Express experience is needed. The React module connects the API to the screen, with challenges such as a property listing feed.

From the blog

1

Frequently asked questions

4

What will I practice in this path?

4 modules: Mongoose Schemas & Models, Express REST Endpoints, Querying & Data Shaping and Fetching & Rendering in React.

How many MERN stack exercises are there, and how hard are they?

16 exercises, all easy.

What does this path run on?

Challenges run on React 19, Express 5 and Node 24.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.