I have tried to build a social media clone with the basic functionalities such as posting, liking the posts, commenting on the posts, sharing the posts. And all this has been done on top of MERN Stack and have used socket.io for realtime data transmissions and notifiacation alerts for th users. (The UI has been kept absolutely minimal for that reason and focused on the logic building in such a short time constraint.)
To get started, follow these steps:
Before you begin, make sure you have the following software installed on your system:
- Node.js
- npm (Node Package Manager)
- nodemon (optional, for server development)
-
Clone this repository to your local machine:
git clone https://github.com/ani1609/HealTetherAssessment.git
-
Navigate to the project directory:
cd HealTetherAssessment
-
Install server dependencies. Inside the server folder, run:
cd servernpm install
-
Start the server:
node index.jsThe server will start at localhost:3001
-
Install client dependencies. In the project root directory, navigate to the client folder:
Now open HealTetherAssessment folder from another terminal and navigate into the client folder bu running the comman 'cd client'npm install
-
Start the client application:
npm startThe server will start at localhost:3000
-
Open the app in two or more browsers
- open browsers like chrome, brave, safari etc
- Type
localhost:3000and enter
-
Create User accounts with required given details
-
Test for the features after succesfull account creation
Note: Use images of size <=1mb