This project is a comprehensive social media platform that includes features such as user accounts with authentication and friend management, real-time chat using sockets, notifications, post uploads, and search functionality. The client is built with Vue.js using Pinia for state management and Tailwind CSS for design. The backend is developed with Django and PostgreSQL, served with Gunicorn, and containerized using Docker for seamless development and deployment.
Clone the Repository
git clone https://github.com/almoghindi/Django-Vue-Social-Media.git
cd Django-Vue-Social-Media
Create Environment Variables
Create a .env
file in the root directory with the necessary environment variables for Django and PostgreSQL.
Build and Run the Containers
docker-compose up --build
Access the Application
http://localhost:8080
http://localhost:8000
By following these steps, you can run the social media platform locally using Docker Compose, which sets up the frontend, backend, and database services.