Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

91 Commits

Folders and files

Repository files navigation

LIT Creative Media Platform

A comprehensive digital platform for managing and sharing creative media content within educational institutions. The LIT Creative Media Platform enables institutions to organize, categorize, and distribute media resources with flexible access control and tiered membership options.

Overview

The LIT Creative Media Platform is a full-stack web application designed to serve educational institutions as a centralized hub for managing creative media libraries. Users can discover and access curated content, while administrators manage media collections, institutions, and support requests.

Key Features

  • User Authentication & Authorization – Secure login with role-based access control, password reset via email, and session management
  • User Profiles – Manage user accounts with institutional affiliations and customizable profile settings
  • Creative Media Library – Upload, organize, and manage creative resources including books, documents, and multimedia files
  • Media Categorization – Organize content into logical categories for intuitive browsing and discovery
  • Flexible Access Control – Support for free and licensed content with permission-based restrictions
  • Institution Management – Register educational institutions with tiered membership levels (Standard, Premium, Benefactor)
  • Media-Institution Relationships – Map media collections to specific institutions based on membership tiers
  • Support Ticket System – Public and authenticated users can submit support requests; admins manage and respond to tickets with email notifications
  • Admin Dashboard – Comprehensive statistics, analytics by category, and full CRUD operations for media and institutions
  • Email Notifications – Automated notifications for password resets and support ticket replies

Tech Stack

Backend

  • Framework: Laravel 11
  • Language: PHP
  • Authentication: Laravel Sanctum
  • Database: MySQL
  • API: RESTful API with CORS support

Frontend

  • Framework: React (Vite)
  • Styling: Tailwind CSS
  • State Management: Context API
  • Build Tool: Vite
  • HTTP Client: Axios

Project Structure

├── backend/                      # Laravel backend API
│   ├── app/
│   │   ├── Http/Controllers/     # API controllers
│   │   ├── Models/               # Eloquent models
│   │   ├── Mail/                 # Email templates
│   │   └── Providers/            # Service providers
│   ├── database/
│   │   ├── migrations/           # Database schema
│   │   ├── factories/            # Model factories for testing
│   │   └── seeders/              # Database seeders
│   ├── routes/                   # API routes
│   └── config/                   # Configuration files
├── frontend/                     # React frontend application
│   ├── src/
│   │   ├── components/           # Reusable React components
│   │   ├── pages/                # Page components
│   │   ├── context/              # Context providers
│   │   ├── api/                  # API integration
│   │   └── assets/               # Static assets
│   └── public/                   # Public files
└── database/                     # Database SQL dumps

Setup Instructions

Prerequisites

  • PHP 8.1+
  • Node.js 16+
  • MySQL 8.0+
  • Composer
  • XAMPP (for local development)

Backend Setup (Laravel)

cd backend
composer install
cp .env.example .env
php artisan key:generate

Update .env with your database credentials:

DB_DATABASE=lit_db
DB_USERNAME=root
DB_PASSWORD=yourpassword

SANCTUM_STATEFUL_DOMAINS=localhost:3000
SESSION_DOMAIN=localhost
SESSION_DRIVER=cookie

Run the database migrations:

php artisan migrate

Start the Laravel server (XAMPP):

  1. Start Apache and MySQL services in XAMPP
  2. Access at http://localhost:8000

Frontend Setup (React)

cd frontend
npm install
npm run dev

The frontend will run at http://localhost:3000

Configure Axios

In your frontend API configuration, ensure:

axios.defaults.withCredentials = true;
axios.defaults.baseURL = 'http://127.0.0.1:8000';

Create Admin User

Use Laravel Tinker to create your first admin user:

php artisan tinker

Then in the Tinker console:

User::create(['name' => 'Admin', 'email' => 'admin@example.com', 'password' => bcrypt('password'), 'role' => 'admin']);

Development

To start developing:

  1. Ensure XAMPP services are running
  2. Run npm run dev in the frontend directory
  3. Access the application at http://localhost:3000
  4. API requests go to http://localhost:8000/api

License

This project is proprietary and intended for educational institutions.

User::create([
 'Fname' => 'Admin',
 'Lname' => 'User',
 'Email' => 'admin@example.com',
 'Password' => Hash::make('123'),
 'Role' => 'admin',
 'Status' => 'active',
 'InstitutionID' => 1,
]);

Project Ready ✅

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages