Skip to content

meetakbari/WeShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backend(Node) Libraries Used

  • express (node.js web-app framework to develope backend APIs efficiently)
  • body-parser (middleware for handling JSON, Raw, Text and URL encoded form data.)
  • bcrypt (for password encryption)
  • cors (to serve cross origin requests)
  • dotenv (to manage environment variables)
  • gridfs-stream (for file upload)
  • multer (middleware for handling multipart/form-data)
  • multer-gridfs-storage (to store file locally before uploading)
  • helmet (helps in securing express app by setting up various HTTP headers)
  • morgan (for logging)
  • jsonwebtoken (for authentication)
  • mongoose (for mongodb access)

Frontend(React) Libraries Used

  • react-redux (for state management)
  • @reduxjs/toolkit (wrapper around redux, makes redux easy to use)
  • redux-persist (to store the states in localStorage)
  • react-dropzone (to handle file upload on frontend)
  • dotenv (to manage environment variables)
  • formik (for form handling)
  • yup (for validation)
  • react-router-dom@6 (for handling different react routes and pages)
  • Material-UI libraries: @mui/material, @emotion/react, @emotion/styled, @mui/icons-material

MongoDB Database name

  • weShareDB

Register User Raw JSON Data:

{ "firstName": "Yash", "lastName": "Patel", "email": "yashp@gmail.com", "password": "yash123", "picturePath": "", "friends": [], "location": "Ahmedabad", "occupation": "Student" }