This project runs as a Node-Express application in AWS to provide a filtered download of requested images: http://udaimagefilter.eu-west-2.elasticbeanstalk.com/filteredimage?image_url=https://timedotcom.files.wordpress.com/2019/03/kitten-report.jpg
You'll need to create a new node server. Open a new terminal within the project directory and run:
- Initialize a new project:
npm i
- Run the development server with
npm run dev
- Verify changes by running the test suite
npm test
Changes are made to development branch and then merged back into master
A production build is created under folder /www and this is configured
in .elasticbeanstalk/config.yml
under the deploy.artifact
property
npm run clean
npm run build
eb deploy
I've introduced some extra features into this project
Mocha/Chai test cases have been setup to test the /filteredimage
endpoint
and are also configured to use TypeScript
Uses an AWS domain name of udaimagefilter