This project is my solution to the technical challenge for the backend developer opportunity at Croct, is a standalone application that translates IP addresses from a stream of events into geographical locations. It reads input events, translates the IP addresses to location information, and writes the processed events to an output stream. The application is built using .NET Core 7 and follows the specified requirements.
- .NET Core 7 SDK
-
Clone the repository:
git clone https://github.com/highotz/LocationDetector.git cd LocationDetector
-
Install the .NET Core 6 SDK (if not already installed). Refer to the official documentation for instructions: Download .NET Core 7 SDK
-
Configure the application, update the configuration file to specify the desired input stream reader Upload:(CSV or JSONL), TranslationChannel(CSV or API), and output stream writer Response(CSV or JSONL).
-
Build the application:
dotnet build
-
Run the application:
dotnet run --configuration Debug --project LocationDetector.API/LocationDetector.API.csproj