live demo - https://country-codes-zip.herokuapp.com/
docker build .
then run docker container in port 5000
install backend dependencies
npm i
to run backend
node server.js
install frontend dependencies
cd client
npm i
if nodemon is installed
nodemon server.js
to run frontend
cd client
npm start
.zip file must contain the files (directories are not supported) with country codes seperated by a new line .
request - .zip file
response -
[{filename: "1.txt" // filename
isfilecontent: true // is file content present
names: Array [ {0: Object { name: "Sri Lanka", status: "SUCCESS", code: "lk" }}, {…}, {…}, … ]
// array of country codes and their respective names and status },...]