- City-Validation-S3 reads all provided files within the data package
- A CitiesMap is created and stored in the client with the cities located inside cites.json
- Tmp cities located here, are compared and validated against the map
- Files for valid elements, invalid elements and unprocessable files are then generated inside of the results package
- This app can be run using either
go run
or a docker container. - Due to time constraints, there is only partial testing of some of the functions
- Install Go
- For Linux:
- Run
sudo apt-get update sudo apt-get install golang
- Run
- For Mac (Homebrew)
- Run
brew install go
- Run
- For Linux:
- From the CITY_VALIDATION_s3 directory, run
go mod tidy
to install external dependencies - From the root of the directory run
go run city_validation_s3.go
- Check the results package for the generated files
- Download Docker Desktop and make sure it is running
- From the root of the app run
docker-compose up --build
- Check the results package for the generated files