Giter VIP home page Giter VIP logo

multer-gridfs-storage-demo's Introduction

Multer Gridfs Storage demo

A small, basic demo project to demonstrate the use of multer-gridfs-storage to upload a file and download it.

Getting Started

Read up a little about Gridfs storage here GridFS

Prerequisites

Node.js

Installing

npm install

The project accepts a single file as input. You can change the mutler upload function to anything else. The input to retrieve the file name is the original name of the file. You can change this in the file property in storage GridFS Storage object.

Running the tests

Mocha and Chai have been installed, I haven't added the tests yet. You can use

npm run test

to run tests.

Break down into end to end tests

  • Add test details

And coding style tests

  • Add details

Deployment

npm start

Built With

Contributing

Nothing here for now. If you're interested in taking this further, email me at [email protected]

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Kavita Nambissan Ganguli - Initial work - KvNam

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Stack Overflow folks - for all the answers and hints

multer-gridfs-storage-demo's People

Contributors

kvnam avatar

Stargazers

Vikram S avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.