Skip to main content

Module 05: Your First Project

Duration: 2-3 hours | Difficulty: Beginner

In this module, you'll build a complete project the traditional way. This sets the stage for Module 06, where you'll see how SpecWeave transforms the development process.


What You'll Build

A Task Tracker CLI — a command-line application that:

  • Adds tasks
  • Lists tasks
  • Marks tasks complete
  • Saves tasks to a file

This is a simplified version of what SpecWeave tracks internally!


What You'll Learn

  • Project setup and structure
  • Reading/writing files with Node.js
  • Command-line argument parsing
  • Building a complete application

Why Build the Traditional Way First?

Before learning SpecWeave, you need to experience:

Traditional DevelopmentPain Points
Start coding immediatelyNo clear requirements
Figure out architecture as you goDecisions not documented
Test when you rememberCoverage unknown
Document at the end (maybe)Always outdated

Module 06 will show how SpecWeave solves these problems.


Module Lessons

LessonTopicDuration
05.1 Project SetupCreate and structure the project45 min
05.2 Core LogicImplement task management60 min
05.3 CLI InterfaceBuild the command-line interface45 min

Prerequisites

Before starting this module:

  • ✅ Completed Module 04 (JavaScript Basics)
  • ✅ Node.js installed
  • ✅ Comfortable with terminal commands

Project Preview

# What you'll build
$ node task.js add "Learn JavaScript"
✓ Added task: Learn JavaScript (id: 1)

$ node task.js add "Build first project"
✓ Added task: Build first project (id: 2)

$ node task.js list
Tasks:
[ ] 1: Learn JavaScript
[ ] 2: Build first project

$ node task.js complete 1
✓ Completed: Learn JavaScript

$ node task.js list
Tasks:
[x] 1: Learn JavaScript
[ ] 2: Build first project

Let's Begin

Ready to build your first complete project?

Start Lesson 05.1: Project Setup