MEAN Stack BasicsLearn web development from zero, inside VS Code. 140 short lessons, quizzes and coding exercises that check your code as you type. A Visual Studio Code extension that teaches the MEAN stack and the web basics under it to complete beginners: HTML, CSS, JavaScript, Node.js, Express, MongoDB and Angular. Every lesson is short, ends with questions and a hands-on exercise, and links to the official documentation so you learn to read the real thing. Nothing to install, no account, works offline. AI help is optional and off by default.
Table of Contents
AboutMost tutorials ask you to read, then copy. This course asks you to predict, answer and write. Each lesson explains one idea in plain English, asks a few questions where a wrong answer explains why, and gives you a small coding task. Press one button and your code is checked right away, with a clear reason for anything that is wrong. It is built for first-year students and self-learners, and it works for lab courses that follow the MEAN stack. The explanations are written for this course. The extension never copies documentation text; every lesson links to the matching official page (MDN, Node.js, Express, MongoDB, Angular) so you can read further. What You Will Learn
The recommended order is the order in the table. You can open any lesson at any time; nothing is locked. The course targets current versions: Node.js 24 LTS, Express 5, MongoDB 8 and later, and current Angular with standalone components, signals and the built-in control flow. AngularJS reached end of life in January 2022, so it has its own short, clearly marked track. How a Lesson Works
Finish a lesson by passing the exercise and answering about 80 percent of the questions correctly. When you finish a whole track you can export a printable certificate, and at any time you can export a progress report. How Your Code Is CheckedChecks run on your computer and are deterministic: the same code always gets the same result. No AI decides whether you pass.
Because of that last point, treat passing a check as "this matches what the lesson asks", and use the official documentation and a real project to go further. InstallationFrom the VS Code Marketplace (recommended)
Or from the command line:
From a
|
| Command | Description |
|---|---|
ms: Open Course |
Show the course map in the sidebar |
ms: Continue Learning |
Open the next lesson you have not finished |
ms: Find a Lesson |
Search lessons by topic (Ctrl+Alt+M) |
ms: Check My Code |
Check the exercise of the open lesson |
ms: Open Exercise File |
Create or open the exercise file of the open lesson |
ms: Reset Lesson Progress |
Clear progress for one lesson (right-click it in the course map) |
ms: Reset All Progress |
Clear all progress |
ms: Export Certificate |
Save a printable certificate for a finished track |
ms: Export Progress Report |
Save a Markdown report of your progress |
ms: AI: Set API Key |
Store the key for the optional AI helper |
ms: AI: Clear API Key |
Remove the stored key |
ms: AI: Test Connection |
Check the AI settings |
Settings
| Setting | Default | Description |
|---|---|---|
meanStackBasics.courseFolder |
"" |
Folder for exercise files. Empty means MEAN Stack Basics in your home folder |
meanStackBasics.ai.enabled |
false |
Turn on the optional "Stuck?" helper |
meanStackBasics.ai.baseUrl |
http://localhost:11434/v1 |
Base URL of any OpenAI-compatible chat API |
meanStackBasics.ai.model |
"" |
Model name to request |
meanStackBasics.ai.maxTokens |
400 |
Maximum length of each AI reply |
meanStackBasics.ai.maxTokensParam |
max_tokens |
Request field that limits reply length (max_completion_tokens for some newer hosted models) |
meanStackBasics.ai.dailyLimit |
50 |
Maximum AI requests per day, counted on your machine |
Optional AI Helper
Off by default. Bring your own service. The course works fully without it.
If you get stuck, an AI model can give a hint about a failing check. It never writes the solution and never decides whether you pass; the automatic checks do that.
- Turn on
meanStackBasics.ai.enabled. - Set
meanStackBasics.ai.baseUrlandmeanStackBasics.ai.modelfor any service that offers an OpenAI-compatible chat API. A local server such as Ollama or LM Studio costs nothing and keeps everything on your machine. - If the service needs a key, run
ms: AI: Set API Key. It is stored in VS Code secret storage. - Run Check my code. When a check fails, press Stuck? Ask the AI helper.
What happens:
- The first time, you see which host will receive your data and must allow it.
- The request contains the lesson summary and task, the failing checks and your exercise file. Emails, keys, connection strings and your home folder path are removed first.
- The reply is plain text with any code blocks removed, and is marked as possibly wrong.
- Your key is only sent over HTTPS (or to a local server), and a daily request limit applies.
AI hints can be wrong, so check them against the official documentation linked in each lesson.
Privacy and Security
- No telemetry. The extension collects no usage data.
- Your code stays on your machine unless you turn on the AI helper and allow a host.
- Progress is stored in VS Code and can sync through Settings Sync.
Read PRIVACY.md and SECURITY.md for details, including how exercise code is run and how to report a problem.
Build From Source
# 1. Clone
git clone https://github.com/anandsundaramoorthysa/mean-stack-basics.git
cd mean-stack-basics
# 2. Install dependencies
npm install
# 3. Compile
npm run compile
# 4. Run the unit tests
npm test
# 5. Check every lesson (starters must fail, solutions must pass)
npm run validate
# 6. Launch the Extension Development Host
# Press F5 in VS Code
Package a .vsix with npx vsce package. See CONTRIBUTING.md for the full workflow and
docs/AUTHORING.md for how to write lessons.
Contributing
Contributions are welcome: corrections, clearer explanations, better checks, new lessons and code fixes.
- Found a mistake in a lesson? Open a lesson issue and link the official documentation that supports the fix.
- Writing lessons? Follow docs/AUTHORING.md.
npm run validateproves your starter fails and your solution passes. - Changing code? See CONTRIBUTING.md.
Roadmap
- [ ] More practice projects between tracks
- [ ] TypeScript exercises that run for real
- [ ] Optional real-MongoDB mode for indexes, text search and geospatial queries
- [ ] Translations of the lessons
- [ ] Open VSX publication
License
Released under the MIT License. See LICENSE. The lesson text and exercises are original to this project. Official documentation is linked, never copied.
Acknowledgments
Built with these open-source projects:
- markdown-it: renders lesson text
- mingo: the MongoDB-compatible practice query engine
- Express: runs Express exercises
- linkedom: the lightweight DOM used for DOM exercises
This project is independent and is not affiliated with, endorsed by or sponsored by Mozilla, the OpenJS Foundation, the Node.js project, MongoDB, Inc. or Google (Angular). All product names belong to their owners and are used only to describe what the lessons teach.
GitHub · Marketplace · Issues
