CodingNic

Final Capstone Project

Project Setup

Final Capstone Project 35 min read

Project Setup

Project Setup

This is the first step of your capstone project.

You will create the project structure and confirm that your application runs correctly before building features.


Goal of This Lesson

By the end of this lesson, you will:

  • create your project folder
  • organize files like a real application
  • run your first working file

Step 1: Create Project Folder

Open your terminal and run:

bash
mkdir productivity_app
cd productivity_app

Step 2: Create Project Structure

Create main folders:

bash
mkdir app tests
touch main.py

Inside app, create subfolders:

bash
mkdir app/models app/services app/ui

Final Structure

text
productivity_app/
    app/
        models/
        services/
        ui/
    tests/
    main.py

Step 3: Create First Program

Open main.py and add:

python
def main():
    print("Productivity App Started")

if __name__ == "__main__":
    main()

Step 4: Run Your Program

In terminal:

bash
python main.py

Expected output:

text
Productivity App Started

Why This Step Matters

This confirms:

  • your environment is working correctly
  • your project structure is valid
  • you are ready to begin development

Step 5: (Optional but Recommended) Create Virtual Environment

Create virtual environment:

bash
python -m venv venv

Activate it:

Windows

bash
venv\Scripts\activate

Mac/Linux

bash
source venv/bin/activate

Summary

You created the project structure and verified that your application runs successfully.

This is the foundation for everything that follows.


Next Step

Now we move into the real build phase:

text
lesson-2-database-setup.md

This is where your application becomes real (SQLite + tables).