Skip to content

Web API for processing CSV files, saving and aggregating data.

Notifications You must be signed in to change notification settings

SPBpiraT/timescale-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timescale-api

Web API for processing CSV files, saving and aggregating data.

Architecture

The application is implemented using a three-layer architecture and divided into layers:

  • TimeScale.WebApi (Presentation)
  • TimeScale.BLL (Business Logic)
  • TimeScale.DAL (DataAccess)

Additionally, a separate assembly (TimeScale.Shared) for utilities used across all layers.

TechStack

  • .NET 8
  • EF Core
  • PostgreSQL
  • Swagger

Project startup

Database setup

# Pull PostgreSQL docker image
docker pull postgres

# Start database container
docker run -itd -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=admin -p 5432:5432 --name pgcontainer postgres

Start the application

# Start in Dev mode
dotnet run --launch-profile https

Access Swagger UI at: https://localhost:7020/swagger/index.html

About

Web API for processing CSV files, saving and aggregating data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages