Coder Social home page Coder Social logo

farrukhras / image-sharing-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.75 MB

Full stack image-sharing application using MongoDB, Express, React, and Node.js. It also has a real-time chat feature implemented using Socket.IO.

HTML 47.75% CSS 9.33% JavaScript 42.92%
express mern-stack nodejs react socket-io

image-sharing-app's Introduction

Image Sharing App

Description

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.

Technologies Used

  • Express framework for Node.js
  • MongoDB for data storage
  • React for front-end development
  • Socket.IO for real-time communication

Setup and Installation

  1. Clone the repository.
  2. Install the required dependencies using the following commands in the respective folders:
    • npm install in the api folder
    • npm install in the client folder
    • npm install in the socket folder
  3. Replace <your_mongo_url> in the /api/.env file with your MongoDB connection URL.
  4. Run npm start in the client folder to start the front-end development server.
  5. Run npm start in the socket folder to start the Socket.IO server.
  6. Run node index.js in the api folder to start the back-end API server.
  7. Access the application through the provided URL.

Demo of the Realtime Chat feature

Realtime Chat feature

Contact

For any inquiries or suggestions, feel free to contact me at this email.

image-sharing-app's People

Contributors

farrukhras avatar

Stargazers

 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.