A social media web app with basic functionality
socialMedia
A social media web app with basic functionalities that I created after following the instruction from a Youtube video.
Screenshots:
Features:
- Sign up, log in, log out
- Create posts
- Like and unlike posts
- Toggle dark/light mode
How to run locally:
- Clone the code
- Create a .env file with MONGO_URL, JWT_SECRET, and PORT variables
- cd into /server
- run “npm i express body-parser bcrypt cors dotenv gridfs-stream multer multer-gridfs-storage helmet morgan jsonwebtoken mongoose”
- run “node index.js”
- cd into /client with a new terminal
- run “npm i react-redux @reduxjs/toolkit redux-persist react-dropzone dotenv formik yup react-router-dom@6 @mui/material @emotion/react @emotion/styled @mui/icons-material”
- run “npm run start”