This project take a source data from an endpoint and count the age and create a file output.txt
with keys with the value 32.
- Nodejs 18+
or
- Docker
this is necesary just on NodeJS
# install dependencies
npm install
This project use Jest for testing
npm run test
# Start Server
npm run start
# Start Development Server
npm run dev
# Create the image
docker build -t countage .
# Run Test on a container
docker run --rm -v ./:/home/node/app countage npm run test
# Run a container with the new image
docker run --rm -v ./:/home/node/app countage
- Ismael Torres - Github