Image social network for peoples
This is a MERN stack application. It is a small social network app that includes authentication, posts and notifications.
The App is live at Netlify.com
The API is live at Swagger.io
- Register user (Send email to verify)
- Confirmation email (Verify email)
- Login user
- Get logged in user
- Resend email to verify (If user miss email to verify)
- Forgot password (Send email to reset password)
- Reset password
- Prevent access Profile, Posts if not verify email
- Update info
- Change password (Require current password)
- Change email (Require current password & send email to verify)
- Update avatar
- Create post (upload photo)
- Get posts
- Get single post
- Delete post (if owner)
- Like & Unlike post
- Comment post
- Delete comment post (if owner)
- Get all posts of user logged in
- Get posts by user ID
- Get notifications when friends like or comment
- Mark read & unread notification
- Clear notification
- Mark all as read notifications
- Clear all notifications
{
"mongoURI": "<your_mongoDB_URI>",
"jwtSecret: "secret",
"SMTP_HOST": "",
"SMTP_PORT": "",
"SMTP_USER": "",
"SMTP_PASSWORD": ""
}
npm install
cd client
npm install
npm run dev
npm run debug
cd client
npm run build
Tuong Huynh
1.0.0
This project is licensed under the MIT License