hseoy / tutorial-image-upload-multer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)


Languages

Language:JavaScript 100.0%