The project is an image sharing application with login and register functionalities. It allows users to upload and share image posts from their accounts, follow and unfollow other users, and engage in real-time chat with different users.
The back-end of the application is built using the Express framework for Node.js. It provides a robust API that interacts with the MongoDB database for fetching and storing data. User authentication, image uploads, and data retrieval are handled through the back-end API.
On the front-end, the application utilizes React functional components to create a user-friendly interface. The login/register and image sharing functionalities are implemented to allow seamless interaction with the application. The data is fetched from the MongoDB database via the Node.js server and displayed in the React components.
Additionally, Socket.IO is utilized to enable real-time communication capabilities within the application. Users can engage in instant messaging and send messages to other online users using Socket.IO's reliable and efficient messaging system.
- Express framework for Node.js
- MongoDB for data storage
- React for front-end development
- Socket.IO for real-time communication
- Clone the repository.
- Install the required dependencies using the following commands in the respective folders:
npm install
in theapi
foldernpm install
in theclient
foldernpm install
in thesocket
folder
- Replace
<your_mongo_url>
in the/api/.env
file with your MongoDB connection URL. - Run
npm start
in theclient
folder to start the front-end development server. - Run
npm start
in thesocket
folder to start the Socket.IO server. - Run
node index.js
in theapi
folder to start the back-end API server. - Access the application through the provided URL.
For any inquiries or suggestions, feel free to contact me at this email.