Skip to content

Rapheta/RESTFul-API-NET-Core

Repository files navigation

RESTFul API with .NET Core 3.1

Development and design of a Web API RESTful with .NET Core 3.1

About me


Project Architecture:

  • Clean Architecture (Onion Architecture)
  • Dependency Injection
  • Repository Pattern
  • Entity Framework Core

  • Independent of frameworks
  • Testable
  • Independent of UI
  • Independent of database
  • Independent of external agency

Topics:

  • ControllerBase
  • ApiController
  • ResponseType
  • Binding
  • Routing
  • Filters
  • Pagination
  • Exceptions
  • API Documentation with Swagger
  • Enabling CORS
  • Hateoas
  • Health Checks
  • Token Based Authetication with JWT
  • Versioning

Invoking APIs:

  • Postman
  • C#

Required Software:

  • .NET Core SDK 3.1+
  • Visual Studio 2019 Community
  • SQL Server Management Studio
  • Postman

Features:

  • Insert a new Post
  • Update an existing Post
  • Delete an existing Post
  • Get all the existing Posts
  • Get all the Posts by User
  • Filter Posts by date, user or description
  • Get all the comments from a Post
  • Requests must be paginated showing 10 results per page
  • APIs must be protected with an authenticatio Token
  • API documentation must be available to request
  • Endpoint to check if the APIs are available to use