Skip to content

ashrafulhaque89/fnz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Customer Management CRUD API built with NET 5 (.NET Core 5) C#

You will need Microsoft Visual Studio to run this solution project or you can use any editor of your choice if you have NET 5 (.net core 5, .net core 3.1 for the console app) installed in your Windows/MAC/Linux machine. The API uses SQL Lite Database which will be built automatically upon running the application for the first time and some data will be seeded automatically.

This API has full CRUD functionalities with 3 endpoints:

  1. api/customers : Shows list of Customers
  2. api/customers/id : Shows customer by Customer's Id
  3. api/customers/report : Shows a breakdown of average customer ages by customers' Genders

JSON

{
    "First_name" : "First Name",
    "Last_name" : "Last Name",
    "DOB" : "2000-06-12",
    "Gender" : "Male"
}

Console Application version of the API

Made a Console App version of this API. A method driven and simple implemenation approach was followed. Here is a screenshot from the Console output window:

Console App output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages