This app is a demonstration for how to connecting a react front-end app with gridfs file storage mongo database.
- Clone this repository
git clone https://github.com/AndreasLengkeek/mern-gridfs-tutorial
- Install dependencies
npm install
on the server and in the client folder - Make sure an instance of
mongod
is running - Start the server and client separately with
npm start
- Browse to http://localhost:3000 to access the app
{
"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"
}