Skip to content
yousifj129Public

About

a social media web application built using the MEN stack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

Contributors Forks Stargazers Issues project_license


Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

This is a twitter inspired social media application.

Built With

  • EJS
  • HTML5
  • CSS3
  • JavaScript
  • Node.js
  • Express.js
  • Cloudinary
  • MongoDB
  • mongoose
  • morgan
  • multer
  • bcrypt.js
  • dotenv
  • method-override

Getting Started

Fork this repository and run the game, and follow these steps:

  • install the packages: npm install
  • add the .env file and write this with your details:
MONGODB_URI=you can get it from your database
PORT= probably 3000
SESSION_SECRET= anything random but should stay a secret
CLOUDNAME= cloudinary name
APIKEY= cloudinary api key
APISECRET= cloudinary api secret

Roadmap

  • create accounts and login and update profile pictures and description.
  • post text and images if needed.
  • comment on a post and like or dislike a post.
  • follow other users and see their content on the "following" feed page
  • search for posts

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Top contributors:

contrib.rocks image

License

Distributed under the project_license. See LICENSE.txt for more information.

Attributions

  • Source of logo: ChatGPT

Things I am proud of

  • top posts in feed using aggregate to add a field of likes and sort posts based on it
  • searching for posts and users using $regex
  • learned about logical queries in mongodb such as $or and $regex and $size and $lt and many others
  • did some security checks on every route that is requiring some security, such as the delete route and update

Next Step

  • Private chat with other users
  • Repost a post, just like retweet in twitter
  • Post videos along side images
  • Ability to add multiple images and videos in 1 post
  • if you follow someone and he follows you back you become "friends"
  • redesign the whole project

[html-url]:

About

a social media web application built using the MEN stack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages