Giter VIP home page Giter VIP logo

social-media-app's Introduction


Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

About Social Media App

Implement a social media application: users can post text + pictures on the APP to show interesting things in life.

Features

  • Log in. Support login with Google account.
  • Send memories. It can be modified and deleted later.
  • View the memories sent by others, and search them.
  • Recommendation and display of memories, ranking list (daily list, weekly list, etc.).
  • Comments and likes for memories.
  • Labels. Memories can be tagged and search based on tags is supported.
  • System notifications. Likes, comments, announcements, etc. will send system notifications.

Design Highlights

  • Developed a full-stack Social Media APP using the MERN stack(React, MongoDB, Express.js, and Node.js), encompassing functionalities like posting, deleting, and engaging with memories through RESTful APIs.
  • integrated OAuth 2.0 for Google sign-in and JWT for email authentication, bolstering user security and experience.
  • Optimized MongoDB queries with efficient indexing and pagination, resulting in a 46% reduction in query times, and enhanced system resilience against spikes and potential attacks using express-rate-limit and mint-filter.

Project Structure

  • Frontend: Client(React)
  • Backend: Server(Node)
    Server:
    • index.js: start up server
    • routes: routing
    • controllers: The handler used by routes. (Extract complex logic from routes)
    • models:Mongodb collection definition.
      Client:
    • react

How To Start

  • run npm i && npm start for both client and server side to start the app

social-media-app's People

Contributors

three-three-three avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.