Skip to content

Katleho-codes/TermTodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Term-todo

This is a C# + POSTGRESQL built terminal todo app

Project Structure

TermTodo/
├── TermTodo.csproj      # Project file — like package.json
├── Program.cs          # Entry point + CLI loop
├── Todo.cs             # Model / data class
├── TodoRepo.cs         # All DB operations (CRUD)
└── Database.cs         # Connection + migration

Prerequisites

Tool Version Notes
.NET SDK 8.0+ Dotnet
PostgreSQL 14+ Local or hosted

Check installed versions:

dotnet --version
psql --version

Local Development

Clone the repo

git clone https://github.com/Katleho-codes/Term-todo TermTodo
cd TermTodo/TermTodo

Restore packages and run

dotnet restore
dotnet run

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DB_HOST

DB_PORT

DB_USER

DB_PASS

DB_NAME

CREATE DATABASE c#todoapp;

Install the package:

dotnet add package DotNetEnv
dotnet add package Npgsql

About

This is a c# built terminal todo app

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages