A Django social platform built through human-developer and AI collaboration (Copilot + Claude 3.7 Sonnet).
This is a full-featured social networking web application built with Django. The platform allows users to connect with friends, share posts, exchange messages, and interact through likes and comments.
- User registration and authentication
- Profile customization with bio
- Friend request system (send, accept, reject)
- Friend management (view friends, remove friends)
- Create and view posts
- Like/dislike posts with interactive UI feedback
- Comment on posts
- View post details
- Real-time messaging system using Django Channels and WebSockets
- Conversation management
- Unread message indicators
- Private conversations between users
- Typing indicators
- Message read receipts
- Friend request notifications
- Activity notifications
- Notification management (mark as read)
- Real-time notification delivery
- Find users by username or name
- Advanced search filters
- Backend: Django (Python), Django Channels for WebSockets
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Database: SQLite (default Django database)
- Real-time Communication: WebSockets, Redis (channel layer)
The application follows a standard Django project structure with the core app handling most of the functionality:
- Models for data representation (User, Post, Comment, Like, etc.)
- Views for handling requests and business logic
- Templates for rendering the UI
- Forms for data validation and processing
- Consumers for handling WebSocket connections
- Routing for WebSocket URL configuration
- Clone the repository
git clone https://github.com/AI35/Social-Network-Django-Project.git
cd Social-Network-Django-Project\social_network
- Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
- Install dependencies
pip install -r requirements.txt
- Run migrations
python manage.py makemigrations core
python manage.py migrate
- Create a superuser
python manage.py createsuperuser
- Start the development server
python manage.py runserver
- For real-time features, install and run Redis
- For Windows: install (Memurai: Redis for Windows)
daphne -p 8000 social_network.asgi:application
- Open your browser and go to
127.0.0.1:8000/
to access the application.
This project was developed through a collaborative process between human developers and AI assistance:
- Human developers: Core architecture, business logic, and feature implementation
- AI assistance: GitHub Copilot for code suggestions and Claude 3.7 Sonnet for problem-solving and code optimization
The combination of human creativity and AI capabilities resulted in a robust, feature-rich application with clean, maintainable code.
- Image and media sharing
- Group creation and management
- Enhanced privacy settings
- Mobile-responsive design improvements
- Real-time notifications using WebSockets
- Voice and video calling features
- Post reactions beyond likes (love, laugh, etc.)
- Content moderation tools
- User activity status indicators
- Post sharing functionality
This project is licensed under the MIT License - see the LICENSE file for details.
- Django community for the excellent framework and documentation
- Bootstrap for the responsive UI components
- Microsoft Copilot and Claude 3.7 Sonnet for AI assistance in development