Skip to content

timleunghk/CustomerLeadImageApi

Repository files navigation

Customer Lead Image API

ASP.NET Core 8 Web API for managing customers and their images.
Images are stored in Base64 format in a SQLite database.
Each customer can have up to 10 images.

Requirements

  • .NET 8 SDK

Run

dotnet restore
dotnet run

API runs at:
https://localhost:5272

Swagger UI:
https://localhost:5272/swagger

Endpoints

POST /api/customers ¡ create customer with images

GET /api/customers ¡ get all customers

GET /api/customers/{id} ¡ get one customer

GET /api/customers/{id}/images/count ¡ count images

POST /api/customers/{id}/images ¡ add images

PUT /api/customers/{id}/images ¡ replace images

GET /api/customers/{id}/images/{imageId}/preview ¡ preview image

DELETE /api/customers/{id}/images ¡ delete all images

GET /api/customers/{id}/images/count - count how many images storing per customer

Video Demonstration

▶️ Watch Demo Video

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages