file-upload-express
file-upload-express copied to clipboard
File upload with Node, Express, Mutler, Typescript
File upload with Node, Express, Mutler, Typescript
This is the repo for tutorial: https://scotch.io/tutorials/express-file-uploads-with-multer.
- Install nodejs (version 7.5+) and yarn.
- Go to project directory, run
yarn
. - Start the application, run
yarn start
. - Go to
localhost:3000
API End Points
- Upload an image via
localhost:3000/profile
, avatar field. - Bulk Upload images via
localhost:3000/photos/upload
, photos field. - View list of images via
localhost:3000/images
. - Get a single image via
localhost:3000/images/{imageId}
.