Skip to content

stanleyeosakul/node-gridfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple App to Upload Files to MongoDB

This project is the result of my code-along to the Node Upload App: Uploading Files to MongoDB With GridFS (Node.js App) by Brad Traversy. The app uses Multer's GridFS Storage Engine to store uploaded files directly to MongoDB and GridFS Stream for file streams. The front-end of this app was styled using the Bulma CSS Framework instead of Bootstrap, which was used in the original video.


Versions

  • Mongoose v5.0.9 (MongoDB v3.6)
  • Express v4.16.2
  • Node v9.7.1
  • Bulma v0.6.2

Installation

  1. Clone this repo git clone https://github.com/stanleyeosakul/node-gridfs.git
  2. cd into the folder of the cloned repo
  3. Run yarn install to install dependencies
  4. Start your local MongoDB instance
  5. Run npm start, and navigate to http://localhost:3000/