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.
- .NET 9 SDK
- PostgreSQL installed and running
- Docker (optional)
Create appsettings.Development.json:
{
"ConnectionStrings": {
"DefaultConnection": "Host=yourhost;Port=yourport;Database=yourdbname;Username=dbusername;Password=yourpassword"
}
}dotnet ef database updatedotnet runNavigate to: http://localhost:5145/swagger
Build the container:
docker build -t learner .Run it (replace with your connection string):
docker run -p 8080:80 -e learner