Skip to content

thongnv/media-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Management Example

This web app is to upload images and videos

Technology stack:

  • Bootstrap fileinput
  • Node.JS
  • Express.JS
  • PostgreSQL
  • Sequelize ORM

Installation guide

PostgreSQL

Add your DB configurations on server/config/config.json

Add path

  • Windows

set PATH=%PATH%;C:\Program Files\PostgreSQL\9.4\bin

  • MacOS

export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"

  • Install Sequelize CLI

npm install -g sequelize-cli

  • Create database and run migrations

createdb -U postgres -p 5432 -h localhost media_dev

sequelize init sequelize model:create --name Media --attributes title:string

sequelize db:migrate

About

Media management: upload images and videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published