Skip to content

The tutorial to learn how to implement image upload using express and multer (+ postgres)

Notifications You must be signed in to change notification settings

hseoy/tutorial-image-upload-multer

Repository files navigation

TUTORIAL : IMAGE-UPLOAD-MULTER

The tutorial on how to implement image uploads using Express and Multer (+postgres)

How to Run

  1. 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
  1. Install dependencies and run express server
$ npm install
$ npm start

About

The tutorial to learn how to implement image upload using express and multer (+ postgres)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published