mirror of
https://github.com/m1ngsama/php.git
synced 2025-12-24 07:56:01 +00:00
Created detailed README with feature list, installation guide, and architecture overview.
1.3 KiB
1.3 KiB
Reddit-Like Community Forum
A full-featured community forum built with Laravel, inspired by Reddit.
Features
- User authentication (registration, login, logout)
- Community creation and management
- Post creation with multiple types (text, link, image)
- Nested comment threading
- Upvote/downvote system for posts and comments
- User karma tracking
- Community subscriptions
- User profiles with activity history
Database Schema
- Users: User accounts with karma scores
- Communities: Subreddit-like communities
- Posts: User-submitted content
- Comments: Nested comments on posts
- Votes: Upvotes and downvotes
- Community_User: User subscriptions to communities
Routes
/- Home page with popular posts/register- User registration/login- User login/communities- Browse all communities/r/{community}- View community posts/posts/{post}- View post details and comments/u/{user}- View user profile
Tech Stack
- Laravel 12
- Tailwind CSS
- Blade Templates
- MySQL/SQLite
Installation
- Clone the repository
- Run
composer install - Copy
.env.exampleto.env - Generate application key:
php artisan key:generate - Run migrations:
php artisan migrate - Start the server:
php artisan serve