mehdiparastar / mern-gridfs-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN GridFS Tutorial

This app is a demonstration for how to connecting a react front-end app with gridfs file storage mongo database.

Setup

  1. Clone this repository git clone https://github.com/AndreasLengkeek/mern-gridfs-tutorial
  2. Install dependencies npm install on the server and in the client folder
  3. Make sure an instance of mongod is running
  4. Start the server and client separately with npm start
  5. Browse to http://localhost:3000 to access the app

Dependencies

{
    "body-parser": "^1.18.2",
    "express": "^4.16.2",
    "gridfs-stream": "^1.1.1",
    "mongoose": "^4.12.4",
    "morgan": "^1.9.0",
    "multer": "^1.3.0",
    "multer-gridfs-storage": "^2.1.0"
}

Tutorial

Find the tutorial here

About


Languages

Language:JavaScript 84.6%Language:HTML 11.1%Language:CSS 4.3%