Skip to content

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, Built through human-developer and AI collaboration (Copilot + Claude 3.7 Sonnet).

License

Notifications You must be signed in to change notification settings

AI35/Social-Network-Django-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Network Django Project

A Django social platform built through human-developer and AI collaboration (Copilot + Claude 3.7 Sonnet).

Overview

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.

Features

User Management

  • User registration and authentication
  • Profile customization with bio
  • Friend request system (send, accept, reject)
  • Friend management (view friends, remove friends)

Content Sharing

  • Create and view posts
  • Like/dislike posts with interactive UI feedback
  • Comment on posts
  • View post details

Communication

  • Real-time messaging system using Django Channels and WebSockets
  • Conversation management
  • Unread message indicators
  • Private conversations between users
  • Typing indicators
  • Message read receipts

Notifications

  • Friend request notifications
  • Activity notifications
  • Notification management (mark as read)
  • Real-time notification delivery

Search

  • Find users by username or name
  • Advanced search filters

Technology Stack

  • Backend: Django (Python), Django Channels for WebSockets
  • Frontend: HTML, CSS, JavaScript, Bootstrap
  • Database: SQLite (default Django database)
  • Real-time Communication: WebSockets, Redis (channel layer)

Project Structure

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

Installation and Setup

  1. Clone the repository
git clone https://github.com/AI35/Social-Network-Django-Project.git
cd Social-Network-Django-Project\social_network
  1. Create a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install dependencies
pip install -r requirements.txt
  1. Run migrations
python manage.py makemigrations core
python manage.py migrate
  1. Create a superuser
python manage.py createsuperuser
  1. Start the development server
python manage.py runserver
  1. For real-time features, install and run Redis
  • For Windows: install (Memurai: Redis for Windows)
daphne -p 8000 social_network.asgi:application
  1. Open your browser and go to 127.0.0.1:8000/ to access the application.

Development Process

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.

Future Enhancements

  • 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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • 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

About

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, Built through human-developer and AI collaboration (Copilot + Claude 3.7 Sonnet).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •