Moments is a fullstack MERN social media app. You can share your own highlight moments with others!
For fully running the app: enter both client and server folder, npm install
and npm start
. For backend database connection, check .env.example
Some functioanlites for you to use:
- Basic crud functioanlites: display posts, create a post, update a post, delete a post, like a post, comment a post
- Authentication by google account or registered acoount via registration service
- Pargination of the posts from the home page
Sample Demo Pic:
- Sign In page
- Registration Page
- Home Page
- Detailed Page
Post:
{
title: String,
message: String,
name: String,
creator: String,
tags: [String],
selectedFile: String,
likes: { type: [String], default: [] },
comments: { type: [String], default: [] },
createdAt: {
type: Date,
default: new Date(),
}
}
User Info
{
name: { type: String, required: true},
email: { type: String, required: true },
password: { type: String, required: true},
id: { type: String }
}
Mongoose Documentation: https://mongoosejs.com/docs/api.html
MongoDB Atlas setup: https://hevodata.com/learn/mongodb-atlas-nodejs/
Redux Documentation: https://redux.js.org/introduction/getting-started