#Todo list API with .NET, C# and Postgres
#SETUP
-
Install Nuget packages for the application
- EntityFramework -> dotnet add package Microsoft.EntityFrameworkCore --version 7.0.2
- EntityFramework Tools -> dotnet add package Microsoft.EntityFrameworkCore.Tools --version 7.0.2
- EntityFramework Postgres -> dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL --version 7.0.1
-
Database Setup (Postgres)
- After adding the Entities and DbContext run -> Add-Migration "Initial Migration"
- Run the migration script -> update-database
#Run LOCALLY
- Supply the database details in the appsettings.json in the "ConnectionStrings" property
#User Flow
- CRUD on Users
- Login User
- CRUD on Todo items