"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
To start your journey with ShareHub, simply. To get a local copy up and running follow these simple example steps.
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 --versionLogin 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 loginCongratulations on making it this far! You're now ready to dive into the ShareHub code and start exploring.
Happy coding!
- Now you can pull the following Docker image in your terminal or command prompt using the following command:
docker pull abrarfaiz96/sharehub
- After successfully pulling the
abrarfaiz96/sharehubDocker image, you can run the container using the following command:The commanddocker run -d -p 8000:3000 abrarfaiz96/sharehub:latest
docker run -d -p 8000:3000 abrarfaiz96/sharehub:latestis used to run a Docker container based on theabrarfaiz96/sharehub:latestimage. 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, where8000is the host port and3000is the container port. This means that connections made to port8000on the host will be forwarded to port3000inside the container. So, if your application inside the container is listening on port3000, you can access it using port8000on 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 namedabrarfaiz96/sharehubwith the taglatest.
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.
- Congratulations! 🎉 You've made it this far! Now, you just need to paste the URL.
http://localhost:8000/