Skip to content

basemkasem/CodeReviews.Console.CodingTracker

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

682 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Coding Tracker

Coding Tracker is a console app that logs coding sessions, tracks duration, and stores data in an SQLite database.

✨ Features

  • Start and stop coding sessions
  • View past coding sessions
  • Track total time spent coding
  • Store data in an SQLite database
  • Simple console-based user interface

πŸ› οΈ Technologies Used

  • C# (Console Application)
  • .NET (Latest version recommended)
  • Dapper (Micro-ORM for database interactions)
  • SQLite (Lightweight database engine)
  • Spectre.Console (For better console UI)

πŸ”§ Installation

  1. Clone the Repository

    git clone https://github.com/basemkasem/CodeReviews.Console.CodingTracker
    cd CodingTracker
  2. Install Dependencies

    Run the following command to install required NuGet packages:

    dotnet restore
  3. Build the Project

    dotnet build

πŸš€ Usage

  1. Run the application
    dotnet run
  2. Follow the prompts to:
    • Add a coding session
    • Update a session
    • View recorded sessions
    • Delete a session

πŸ“‚ Database Structure

The project uses an SQLite database file (coding-tracker.db) with the table:

CREATE TABLE IF NOT EXISTS CodingSessions (
    Id INTEGER PRIMARY KEY AUTOINCREMENT,
    StartTime DATETIME NOT NULL,
    EndTime DATETIME NOT NULL,
    Duration INTEGER NOT NULL
);

πŸ“š Project Source

This project was inspired by the Coding Tracker project from The C# Academy. It helps improve C# skills, database work, and console app development.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%