This project is an ASP.NET Core application designed to handle data downloading, decompressing, and processing tasks automatically. The processed data is then exposed through an API endpoint.
- Automated downloading of gzipped JSON data file.
- Decompression of gzipped data file.
- Processing of data to provide insights such as the total number of records, the number of records from Florida, the person with the highest income in Florida, and the average income in Florida.
- Exposure of processed data through a REST API endpoint.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of .NET Core SDK.
- You have a Windows/Linux/Mac machine.
To install Assessment Random Data, follow these steps:
-
Clone the repo:
git clone https://github.com/StevenLWTech/AssessmentRandomData.git
-
Navigate to the cloned directory:
cd AssessmentRandomData
-
Restore the necessary packages:
dotnet add package Newtonsoft.Json
-
Run the application:
dotnet run
-
Once the application is running, navigate to the following URL in your browser to access the data:
http://localhost:5000/data