Skip to content

Command-Line CRUD Project

This assignment guides you through building a small command-line application using Python. Your app should persist data using SQLite or PostgreSQL and follow a clear Git workflow.

Requirements

  1. Use Python 3 and follow the Code Style Guide.
  2. Store records in a local SQLite database (or PostgreSQL if preferred).
  3. Provide commands to create, read, update, and delete entries.
  4. Document setup and usage in a README.md file.

Branch Workflow

  1. Fork or clone the starter project linked below.
  2. Create a feature branch for each logical change.
  3. Commit frequently with descriptive messages.
  4. Open a pull request to merge changes back into main.
flowchart TD
    A[Clone starter project] --> B[Create feature branch]
    B --> C[Commit changes]
    C --> D[Open pull request]
    D --> E[Merge to main]

Sample Project Ideas

  • Task Tracker – manage tasks with due dates and completion status.
  • Bird Log – record bird sightings with location and time information.

Starter Project

Clone or fork the template repository linked below to get started:

CRUD Project Starter

The full starter code is maintained separately on GitHub:

CLI CRUD Starter Repository

Use this scaffold as a foundation and extend it to meet the requirements above.