The tutorial on how to implement image uploads using Express and Multer (+postgres)
- Setting up a database
# Create image_upload postgres database
$ createdb image_upload
# Create image_files table
$ psql -d image_upload -a -f ./postgres/image_upload.sql
# Check
$ psql image_upload
$ image_upload=# \d
- Install dependencies and run express server
$ npm install
$ npm start