Skip to content

Repository files navigation

LinkedIn ShareHub


SHAREHUB

About The Project

"Sharehub" emerges as an innovative e-commerce platform developed collaboratively by a dedicated team of three individuals. This dynamic web application operates on a donation-based model, inviting users to contribute items for giveaway, which are prominently featured within its catalog. Additionally, users have the freedom to request specific items they desire, fostering a sense of community and engagement.

Functioning beyond a typical exchange platform, Sharehub serves as a digital space that encourages acts of kindness and resource sharing. Through its intuitive interface and interactive features, the platform aims to create a seamless experience for users seeking to contribute or find items of interest.

The project's development journey sharpened skills in full-stack web development, database management, and user interaction design. Sharehub embodies a vision of an inclusive and compassionate online community, where individuals come together to support one another.

With a focus on user experience and community building, Sharehub provides a modern and efficient tool for facilitating connections and promoting goodwill. The platform's ethos revolves around creating a welcoming space for sharing resources and fostering a culture of generosity.

sharehub.1.mp4

(back to top)

Built With

  • Node.js
  • Express.js
  • REST API
  • HTML5
  • CSS3
  • JavaScript
  • MongoDB
  • Mongoose
  • EJS
  • Nodemon
  • Docker

(back to top)

Getting Started

To start your journey with ShareHub, simply. To get a local copy up and running follow these simple example steps.

Prerequisites

To get started with Docker, first install Docker Desktop from the official website: Docker Desktop Download. After installing Docker Desktop, you can verify that Docker is installed by opening a terminal or command prompt and typing:

docker --version

Login to your Docker account or create a Docker account if you do not have one, then open a terminal or command prompt and type:

docker login

Installation

Congratulations on making it this far! You're now ready to dive into the ShareHub code and start exploring.

Happy coding!

  1. Now you can pull the following Docker image in your terminal or command prompt using the following command:
    docker pull abrarfaiz96/sharehub
  2. After successfully pulling the abrarfaiz96/sharehub Docker image, you can run the container using the following command:
    docker run -d -p 8000:3000 abrarfaiz96/sharehub:latest
    The command docker run -d -p 8000:3000 abrarfaiz96/sharehub:latest is used to run a Docker container based on the abrarfaiz96/sharehub:latest image. Let's break down the command:
  • docker run: This part of the command instructs Docker to run a container.
  • -d: This flag tells Docker to run the container in detached mode, meaning it runs the container in the background and prints the container ID.
  • -p 8000:3000: This option specifies port mapping, where 8000 is the host port and 3000 is the container port. This means that connections made to port 8000 on the host will be forwarded to port 3000 inside the container. So, if your application inside the container is listening on port 3000, you can access it using port 8000 on your host machine.
  • abrarfaiz96/sharehub:latest: This is the name of the Docker image and its tag. It tells Docker which image to use for creating the container. In this case, it's using the image named abrarfaiz96/sharehub with the tag latest.

Overall, the command runs a container in detached mode, maps port 8000 on the host to port 3000 in the container, and uses the abrarfaiz96/sharehub:latest image.

Note: You can replace port number 8000 with any other port because 8000 is the host port, meaning Docker will listen for incoming connections on port 8000 of your host machine.

  1. Congratulations! 🎉 You've made it this far! Now, you just need to paste the URL.
      http://localhost:8000/

(back to top)

About

Node js, Express Js, REST API ,HTML5, CSS3, JavaScript, MongoDB, Mongoose, EJS, Nodemon, Docker

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages