This project exists to demonstrate how to upload an image to an express app. For simplicity it just blindly writes the original filename without worrying about overwrites.
Files will be stored in storage/uploads/images
.
To run the project locally just run yarn && yarn dev
or npm install && npm run dev
There is an included Postman collection file you can use to import into Postman to try this yourself.
With the dev server running you can visit localhost:3000
and use the provided web form to upload an image