Skip to content

funcodingworkshop/react-express-multer-mongoose-file-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React Express Multer Mongoose File Image Upload

This is a boilerplate project to upload images from React frontend to Mongo DB using Express server Multer middleware and Mongoose.

Running the project

  1. create the uploads folder here "server/uploads"
  2. create Mongo DB account on the www.mongodb.com website
  3. create server/.env file and set up environment variables (take a look at .env.example):
    • MONGODB_URI
    • TEST_MONGODB_URI
    • PORT
    • SECRET
  • run the server - cd server, npm run server
  • run the client - cd client, npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published