Skip to content

LekhivOleh/learner

Repository files navigation

Learner – Personal Learning Tracker

A simple ASP.NET Core Web API to track your learning journey — subjects, entries (like notes or todos), and time spent. Built with PostgreSQL and EF Core.

Setup Instructions

Prerequisites

  • .NET 9 SDK
  • PostgreSQL installed and running
  • Docker (optional)

1. Create PostgreSQL Database


2. Set Connection String

Create appsettings.Development.json:

{
  "ConnectionStrings": {
    "DefaultConnection": "Host=yourhost;Port=yourport;Database=yourdbname;Username=dbusername;Password=yourpassword"
  }
}

3. Apply Migrations

dotnet ef database update

4. Run the App

dotnet run

Navigate to: http://localhost:5145/swagger


Docker Support

Build the container:

docker build -t learner .

Run it (replace with your connection string):

docker run -p 8080:80 -e learner

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors