/SOCIAL-MEDIA-SITE

code for the bahria social site

Primary LanguageJavaScriptMIT LicenseMIT

SOCIAL MEDIA WEBSITE

this is a University Social Media Platform built using the MERN stack (MongoDB, Express.js, React.js, Node.js). It provides a platform for students, faculty, and staff to connect, share information, and collaborate within the university community. Getting Started

To get started with the project, follow the steps below: Prerequisites

Node.js: Make sure you have Node.js installed on your system. You can download it from the official website: https://nodejs.org
npm: npm is the package manager for Node.js. It is installed automatically when you install Node.js.

Installation

Clone the repository:

bash

git clone

Change to the project directory:

bash

cd university-social-media-platform

Install the dependencies:

bash

npm install

Configuration

Backend Setup:

    Create a .env file in the root directory of the project.

    Configure the following environment variables in the .env file:

    makefile

    PORT=3001
    MONGODB_URI=<your-mongodb-uri>

MongoDB Setup:
    Install MongoDB on your system following the instructions for your operating system: https://docs.mongodb.com/manual/administration/install-community/
    Start the MongoDB service.

ER Diagrams and Data Modeling

Before running the application, make sure to create the necessary collections and models in MongoDB based on the ER diagrams and data modeling.