Building a REST API from Scratch with Clean Architecture and Domain-Driven Design

TLDRIn this video series, we will build a REST API from scratch using clean architecture and domain-driven design principles. Each video will dive deeper into different methodologies, covering topics like authentication, CQRS, repositories, unit of work, and more. The project will be developed in Visual Studio Code, and the CLI will be used for all commands.

Key insights

🏗️The series focuses on building a REST API from scratch using clean architecture and domain-driven design principles.

🎯Each video will cover a specific topic and dive deeper into different methodologies.

⚙️The project will cover concepts like authentication, CQRS, repositories, and unit of work.

🔧Tools like Mapster, Mediator, Fluent Validation, and AutoMapper will be used throughout the series.

🔒Authentication and authorization will be implemented using JWT tokens.

Q&A

What tools and technologies will be used in the series?

The series will use Visual Studio Code, .NET 6, and various libraries like Mapster, Mediator, Fluent Validation, and AutoMapper.

What topics will be covered in the series?

The series will cover building a REST API from scratch, clean architecture, domain-driven design, authentication, CQRS, repositories, and unit of work.

Will this series be suitable for beginners?

The series assumes basic knowledge of REST, web APIs, and .NET development. Some topics covered may be more advanced, but the content is explained in a beginner-friendly manner.

Do I need prior experience with clean architecture and domain-driven design?

No prior experience is necessary. The series will provide a deep understanding of these concepts and show how to apply them in practice.

What is the development environment used in the series?

The series uses Visual Studio Code and the .NET CLI for all commands and development tasks.

Timestamped Summary

00:00Introduction to the series: Building a REST API from scratch using clean architecture and domain-driven design principles.

01:17Overview of the project and its concepts, including authentication, CQRS, repositories, and unit of work.

03:58Explanation of the architecture diagram and its core components.

08:47Creation of the solution and projects using the .NET CLI.

10:51Adding project references and setting up the dependencies between the projects.

11:59Introduction to the REST Client extension for making HTTP requests.