/TodoWebApi

A sample Todo application demonstrating the web api development in ASP.NET Core with Clean Architecture.

Primary LanguageC#MIT LicenseMIT

Todo application with ASP.NET Core Web API

This is a Todo application that follows Clean Architecture and features:

  • Todo.Core - A C# class library that contains all entities and interfaces.
  • Todo.Infra - A C# class library that contains implementation repositiory classes and database logic.
  • Todo.WebAPI - An ASP.NET Core REST API backend

Prerequisites

.NET

  1. Install .NET 7
  2. Install SQL Server Express Edition

Database

  1. Run the script "db_mytodoapp.sql" in SQL Server to create the DB and related tables.
  2. Change the ConnectionString in "ToDo.WebAPI → appsettings.json" with your database.

image

Running the application

To run the application, run Todo.WebAPI ASP.NET Core Web API application.