Skip to content

portableclass/infotecs-timescale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

infotecs-timescale

.NET Build codecov Docker Image

๐Ÿ”— Swagger UI: http://38.180.114.155:49152/swagger/


๐Ÿš€ Implemented Endpoints

1. POST /api/csv/upload

Upload a CSV file with the format: Date;ExecutionTime;Value

  • Validates and saves raw/aggregated data to DB.
  • Overwrites existing entries for the same file name.

๐Ÿ“ Example CSV file

2. GET /api/results/filter

Returns a filtered list of result entries with query parameters:

  • fileName
  • dateFrom, dateTo
  • avgExecutionTimeFrom, avgExecutionTimeTo
  • avgValueFrom, avgValueTo

3. GET /api/results/last/{fileName}

Returns the last 10 records of raw values for a given file name, sorted by ascending date.


๐Ÿ› ๏ธ Tech Stack

  • .NET 8
  • EF Core
  • PostgreSQL
  • Swagger
  • xUnit Unit Testing
  • Docker-ready

repo on docker Hub

๐Ÿ›ข portableclass/timescaleapi
โ†’ https://hub.docker.com/r/portableclass/timescaleapi

docker pull portableclass/timescaleapi

About

WebAPI application for working with timescale data of some processing results

Topics

Resources

Stars

Watchers

Forks

Languages