The Application is
- JavaScript Modules
- NodeJS and Node Package Manager (NPM)
- Apply TypeScript to develop application
- Unit testing and test-driven development (TDD) using Jasmine
- Working with Express and using the File System Module
To run the command Eslint, Prettier and Jasmine to run test senarios
This is a tool to test syntax
npm run lint
This is a tool to check style
npm run prettier
npm run test
Following these steps to build and start the server
- Run Build to install packager
npm run build
- Start the application by
npm run start
- After starting the application, we can interact with it on local server: http://localhost:4000
- Resize endpoint
Build the API with npm run build and then execute it with npm run start. Go to http://localhost:4000/ and then create your query
?fileName=<name_of_image>&height=<desired_height>&width=<desired_width>
For example: http://localhost:4000/api/image?filename=city&width=200&height=200