DEV Community

Jin Jose Manuel
Jin Jose Manuel

Posted on

MongoDB - React drive files

Overview of My Submission

I made a MongoDB-Express-React application which allows user to upload files to mongodb gridFS.

It connects to the database on Mongodb Atlas. My database has collections for storing the files.
In the front-end I usedreact and dropzone-ui/react to upload the files and to display them.

Submission Category:

Choose Your Own Adventure

This project is considered as random category since it does not fit to any category mentioned on the hackaton announcement.

Link to Code

GitHub logo atlashackathon / mongo-drive-backend

Simple and Small file storage service using Mongo DB. Tech: MERN

mongo-drive

Simple and Small file storage service using Mongo DB. Tech: MERN





mongo-drive-frontend

Simple and Small file storage service using Mongo DB. Tech: MERN

dui-mongo

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with…

Additional Resources / Info

Demo here:

Image-demo-description

Technology Used: React, Dropzone-ui, Express, Mongodb gridFS, Atlas

Top comments (0)