Tasleem Synopsis
Tasleem Synopsis
Submitted
in the partial fulfillment of requirements for the
award of the Degree of
Bachelor of Technology
in
Computer Science & Engineering
The internet has transformed into a powerful social network where people share content, ideas, and
information. Social networking services connect individuals based on common interests and provide platforms
for communication and expression. Users can control their privacy settings and engage with others through
various media formats.
Social networking has revolutionised communication and interaction, with new technologies continuously
emerging to meet the growing demand.
Social networking has become an integral part of modern society, profoundly influencing the way we
communicate, collaborate, and consume information. It has bridged geographical barriers, allowing people
from different corners of the world to connect and engage in real-time discussions.
The impact of social networking extends beyond personal relationships, as businesses and organisations
leverage these platforms to reach and engage with their target audiences.
With the ability to share ideas, mobilise communities, and drive social change, social networking has emerged
as a powerful force shaping our interconnected digital landscape.
II. METHODOLOGY
The MERN stack is a popular web development methodology that combines four key technologies: MongoDB,
Express.js, React.js, and Node.js. This methodology offers a powerful and efficient approach to building
dynamic and robust web applications. Here is an overview of the MERN stack methodology:
1) MongoDB: MongoDB is a NoSQL database that stores data in a flexible, document-oriented format. It
allows for scalable and high-performance data storage, making it well-suited for handling large amounts of
data in web applications.
2) Express.js: Express.js is a web application framework for Node.js that simplifies the development of
server-side applications. It provides a lightweight and flexible environment for building RESTful APIs and
handling HTTP requests, enabling smooth communication between the front-end and the back-end.
3) React.js: React.js is a JavaScript library for building user interfaces. It enables the creation of reusable UI
components, offering a declarative approach to building interactive and responsive web interfaces.
React.js efficiently updates and renders components, resulting in faster and more efficient user experiences.
4) Node.js: Node.js is a server-side JavaScript runtime environment. It allows developers to build scalable
and high-performance web applications by executing JavaScript code on the server-side. Node.js provides
a non-blocking, event-driven architecture that enables handling a large number of concurrent connections
efficiently.
Fig.1.0 : MERN Architecture
The MERN stack methodology follows a unified approach to web development. It involves using MongoDB
as the database to store and retrieve data, Express.js for building the server-side application, React.js for
creating dynamic and interactive user interfaces, and Node.js as the server-side runtime environment. This
combination of technologies enables developers to create end-to-end web applications using JavaScript
throughout the entire development stack, resulting in improved productivity and seamless integration between
the different components of the application.
By leveraging the MERN stack methodology, developers can efficiently build feature-rich and scalable web
applications that deliver exceptional user experiences. The flexibility, performance, and ease of use provided
by the MERN stack make it a popular choice for modern web development projects.
Fig . 1.2
V. RESULTS
‘SocialSphere’ is the name of Our web application.
The application consists of four key pages, each serving a distinct purpose in facilitating user interaction and
engagement.
1) Registration Page: This page serves as the entry point for new users to create an account on the platform.
It provides a seamless and intuitive interface where users can input their relevant information, such as
username, email, and password, to register and gain access to the application's features.
2) Login Page: Designed for users who have already registered, the login page offers a secure gateway to
access their personal accounts. By entering their registered credentials, such as username and password,
users can authenticate themselves and gain entry to the application's functionalities.
3) Home Page: The home page serves as the central hub for user activity within the application. It offers a
visually appealing and user-friendly interface that allows users to effortlessly share various forms of
content, including images, videos, and messages. This page provides a streamlined experience,
empowering users to engage with their friends and connections by posting and consuming content in an
interactive and dynamic manner.
4) Profile Page: The profile page offers users a personalised space to showcase their activity and interactions
within the application. It presents a comprehensive view of the posts and content shared by the user,
allowing them to curate their digital presence and interact with their friends. Through the profile page,
users can navigate their shared content, view their connections, and manage their account settings,
ensuring a seamless and customised experience tailored to their preferences.
B. Express js
Express.js, often referred to as Express, is a fast and minimalist web application framework for Node.js. It
simplifies the process of building web applications and APIs by providing a robust set of features and utilities.
Express.js is known for its simplicity and flexibility, allowing developers to create server-side applications and
handle HTTP requests with ease. It provides a lightweight middleware system that enables developers to add
functionality to their applications by chaining middleware functions together.
With Express.js, developers can define routes, handle HTTP methods (such as GET, POST, PUT, DELETE),
and manage parameters and query strings. It also supports the creation of custom middleware functions for
handling authentication, logging, error handling, and more.
C. MongoDB
MongoDB is a popular open-source NoSQL database management system that provides a flexible and scalable
approach to storing and managing data. It is designed to handle large volumes of data and allows for dynamic
and schema-less document storage. In MongoDB, data is stored in the form of documents, which are similar to
JSON objects. These documents can have varying structures and fields, providing a high level of flexibility
and adaptability. This allows developers to evolve their data models easily as their application requirements
change over time.
D. Node js
Node.js is an open-source JavaScript runtime environment built on Chrome's V8 JavaScript engine. It allows
developers to execute JavaScript code outside of a web browser, making it possible to build server-side
applications. Node.js provides an event-driven, non-blocking I/O model, which makes it highly efficient and
suitable for building scalable and high-performance applications. It allows for handling multiple concurrent
requests without blocking the execution, enabling real-time applications and improving overall responsiveness.
E. JSON Web Token
JSON Web Token (JWT) is a compact and self-contained mechanism for securely transmitting information
between parties as a JSON object. It is commonly used for authentication and authorization purposes in web
applications. A JWT consists of three parts: a header, a payload, and a signature. The header contains
information about the algorithm used for signing the token. The payload contains the claims or statements
about the user or entity, such as their identity, roles, and additional data. The signature is generated using a
secret key, which can be verified by the receiving party to ensure the authenticity and integrity of the token.
JWTs are typically issued by an authentication server upon successful user authentication. They are then
included in subsequent requests as an authorization mechanism. The receiving server can validate the JWT by
verifying its signature and checking the claims within the token. This eliminates the need for server-side
sessions and enables stateless authentication, as the token itself carries the necessary information.
VII. CONCLUSION
In conclusion, the implementation of a social media app using the MERN stack has proven to be a successful
and efficient approach. The versatility and flexibility of the MERN stack, with its combination of MongoDB,
Express.js, React.js, and Node.js, have facilitated the development of a robust and interactive platform.
The MERN stack's ability to handle large amounts of data through MongoDB has ensured scalability and
performance, enabling seamless content sharing and user interactions. The use of Express.js has simplified
server-side development, allowing for efficient handling of HTTP requests and smooth communication
between the front-end and back-end components.
The integration of React.js has resulted in a highly responsive and interactive user interface, enhancing the
overall user experience. Its component-based architecture enables code reusability, facilitating faster iterations
and easier maintenance.
However, it is essential to address ethical considerations and prioritise user privacy and data protection in the
development process.
Safeguarding user information and promoting responsible social media usage should be paramount.
In conclusion, the MERN stack provides a comprehensive and powerful solution for building social media
apps. Its adaptability, scalability, and emphasis on user experience make it an ideal choice for creating
engaging platforms. Continued research and advancements in this field will contribute to further
improvements and innovation in social media app development, paving the way for more immersive and
responsible digital experiences.
These features collectively provide a comprehensive scope for the social media app, allowing users to create,
share, interact with content, discover new connections, and personalise their profile according to their
preferences.
IX. ACKNOWLEDGEMENT
We acknowledge and express our profound sense of gratitude towards all the authors of research papers whose
contribution in this field helped us to prepare our paper. We thank all those who have contributed towards
preparation of the same. We thank the developers which helped in developing block diagrams, circuit
diagrams and platforms.
REFERENCES
[1] https://annalsofrscb.ro/index.php/journal/article/view /6683/5035.
[2] https://www.irjet.net/archives/V5/i2/IRJET-V5I2397
[3] https://www.academia.edu/68509443/A_Review_on_T
echnologies_used_in_MERN_stack.
[4] https://www.theseus.fi/bitstream/handle/10024/5021
10/Cuong_Cao_Nguyen.pdf?sequence=2.
[5] IEEE.Dyl, T. and Przeorski, K., 2017. Mastering FullStack React
Web Development. PacktPublishing