https://github.com/kazimovzaman2/x-clone-swiftui
X-Clone-SwiftUI is a social media app clone built with SwiftUI for the frontend and Django for the backend.
https://github.com/kazimovzaman2/x-clone-swiftui
django django-rest-framework ios python swift swiftui
Last synced: 3 months ago
JSON representation
X-Clone-SwiftUI is a social media app clone built with SwiftUI for the frontend and Django for the backend.
- Host: GitHub
- URL: https://github.com/kazimovzaman2/x-clone-swiftui
- Owner: kazimovzaman2
- Created: 2025-01-19T17:36:29.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-02-19T08:15:03.000Z (4 months ago)
- Last Synced: 2025-02-19T09:24:26.957Z (4 months ago)
- Topics: django, django-rest-framework, ios, python, swift, swiftui
- Language: Swift
- Homepage:
- Size: 713 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# X-Clone-SwiftUI
An X social media app clone built with SwiftUI for the front end and Django for the back end. This project aims to replicate core features of the X platform, including user authentication, posting, and news feed functionality.
## Features
- **User Authentication**: Users can register, login, and log out.
- **News Feed**: Display posts in a user-friendly, scrollable view.
- **Post Creation**: Users can create and share text-based posts.
- **Responsive UI**: A sleek, modern design built with SwiftUI.
- **Backend API**: Django backend to handle user data, posts, and interactions.Screenshots:


## Installation
### Backend (Django)
1. Clone the backend repository:
```bash
git clone https://github.com/kazimovzaman2/X-Clone-SwiftUI.git backend
```
2. Navigate to the backend directory and install dependencies:
```bash
cd backend
pip install -r requirements.txt
```
3. Apply migrations:
```bash
python manage.py migrate
```
4. Run the Django development server:
```bash
python manage.py runserver
```### Frontend (SwiftUI)
1. Clone the frontend repository:
```bash
git clone https://github.com/kazimovzaman2/X-Clone-SwiftUI.git mobile
```
2. Open the project in Xcode:
```bash
open mobile/X-Clone-SwiftUI.xcodeproj
```
3. Build and run the app on your iOS simulator or device.## Configuration
- Set the API endpoint URL in the frontend code to match your Django server URL.## Dependencies
- SwiftUI: For building the mobile app UI.
- Django: For the backend API.
- PostgreSQL/MySQL: For database management (set up as per Django settings).