MySQL Database Design for Social Media

Job ID: 39203987

Budget: ₹600 – ₹1,500 INR

I'm looking for an experienced database designer to create a MySQL database for a social media platform. The system should support user authentication, a friendship/following system, and a real-time chat system.

Key Requirements:
- User Authentication & Profiles: Implement signup, login, hashed password, profile details and email verification systems.
- Friendship/Following System: Develop functionality for follow/unfollow, friend requests, and block/mute users.
- Real-Time Chat System: Design a system for one-on-one and group chats, including support for text, images and attachments, as well as a read/unread status.
- Security & Performance: Ensure the system includes security measures such as hashed passwords and SQL injection prevention, as well as performance optimizations like indexing and activity tracking with timestamps.

The database schema will include:
- Users Table: For user login and profile details.
- Friends Table: For friend requests and connections.
- Messages Table: For messages, including sender, receiver, timestamp and type.
- Chats Table: For chat sessions.
- Attachments Table: For media files in messages.
- Blocked Users Table: For storing blocked users.

Deliverables:
- MySQL Schema (SQL scripts)
- ER Diagram & Documentation
- Optimized Queries
- Backup & Recovery Plan

Ideal Skills and Experience:
- Strong knowledge of MySQL and database design.
- Experience in designing databases for social media platforms or similar applications.
- Understanding of security measures relevant to database design.
- Ability to create clear and comprehensive documentation.
Related categories: PHP Software Architecture MySQL