DEV Community

Jin Jose Manuel
Jin Jose Manuel

Posted on

2 1

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

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay