eslint
:npm run lint
prettier
:npm run format
development
:npm run dev
test
:npm run test
production
:npm run start
build
:npm run build
Some Description of the folders:
assets
: Images to be processed by the APIspec
: Jasmine Configurationcontrollers
: API Handlersroutes
: API Routers
+---assets
| \---images
| \---full
+---spec
| \---support
\---src
| index.ts
|
+---controllers
+---middleware
+---routes
| \---api
|
+---tests
\---utils
|
\---log
Endpoint: /api/images/:image?width=?&height=?
:image
: filename supported with the extension.width
: width to which of the image resized.height
: height to which of the image resized.