A simple import data demo to process and analyze >10,000 data in a CSV file. There is a feature to process and analyze product sales data from an online store over a period of 1 year, and the feature is Import Sales Data. The goal of the analysis is to determine the total net sales and total gross sales for each product available.
Before you running the program, make sure you've run this command:
cp .env.example .env
go mod tidy
make db-migrate-seed
make dev
make dev-race-condition
for build-in race detector
The program will run on http://localhost:3000
Method | URL | Description |
---|---|---|
POST | localhost:3000/api/v1/sales/import | Import File CSV of Sales |