Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RCLDevelopers/StudioManager

Open more actions menu

Repository files navigation

Zangtics Digital Studio Manager

Zangtics Digital Logo

Studio Manager

A comprehensive studio management solution designed for modern production environments. Our platform streamlines operations for TV, radio, photo, and video studios while providing powerful tools for resource management and client engagement.

📸 Homepage Preview

Homepage Preview

🚀 Features

🎨 Frontend Features

  • Modern Dashboard

    • Real-time analytics and statistics
    • Revenue tracking with interactive charts
    • Customer growth visualization
    • Website traffic analysis
    • Responsive Material-UI components
  • User Interface

    • Clean and intuitive design
    • Responsive layout for all devices
    • Dark/Light theme support
    • Interactive data visualization
    • Real-time updates

🔧 Backend Features

  • User Management

    • User registration and authentication
    • JWT-based authentication system
    • User profiles with role-based access control
    • Password encryption using bcrypt
  • Studio Management

    • Studio space management
    • Equipment inventory
    • Facility details and amenities
    • Availability scheduling
  • Booking System

    • Real-time availability checking
    • Booking management
    • Schedule conflicts prevention
    • Booking history
  • Payment Processing

    • Secure payment processing
    • Invoice generation
    • Payment history tracking
    • Refund management

💻 Technology Stack

Frontend

  • Framework: React with TypeScript
  • UI Library: Material-UI (MUI)
  • State Management: React Context API
  • Charts: ECharts
  • Build Tool: Vite
  • Package Manager: npm/yarn
  • Code Quality: ESLint, Prettier

Backend

  • Framework: Django 3.1.12
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)
  • API: Django REST Framework
  • File Storage: Django Media Files
  • Security: bcrypt password hashing

🚀 Getting Started

Frontend Setup

  1. Install Node.js dependencies:
    npm install
  2. Start development server:
    npm run dev
    Access at http://localhost:3000/elegent

Backend Setup

  1. Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  2. Install dependencies:
    pip install -r requirements.txt
  3. Configure MongoDB:
    • Install MongoDB if not already installed
    • Create a database named 'studiomanager'
    • Update MongoDB settings in core/settings.py if needed
  4. Apply migrations:
    python manage.py migrate
  5. Create a superuser:
    python manage.py createsuperuser
    # Use these credentials for testing:
    # Email: admin@example.com
    # Password: 12345678
  6. Run the development server:
    python manage.py runserver
    Access at http://127.0.0.1:8000/

📚 API Documentation

Base URL: http://127.0.0.1:8000/

Authentication Endpoints

  • Login: POST /api/accounts/token/

    • Request body: {"email": "user@example.com", "password": "userpassword"}
    • Returns: Access and refresh tokens
  • Refresh Token: POST /api/accounts/token/refresh/

    • Request body: {"refresh": "your-refresh-token"}
    • Returns: New access token
  • Register: POST /api/accounts/register/

    • Request body: {"email": "user@example.com", "password": "userpassword", "first_name": "John", "last_name": "Doe"}

User Management

  • User Profile: GET /api/accounts/profile/
    • Requires: Authentication token
    • Returns: User profile information

Admin Interface

  • Admin Panel: /admin/
    • Requires: Superuser credentials
    • Manage users, studios, bookings, and payments

⚙️ Configuration

MongoDB Settings

MONGODB_DATABASES = {
    'default': {
        'name': 'studiomanager',
        'host': 'localhost',
        'port': 27017,
    }
}

🔒 Security Considerations

  • JWT tokens for API authentication
  • Passwords hashed using bcrypt
  • CORS configured for secure cross-origin requests
  • Media files served through Django's secure file server
  • Environment variables for sensitive data
  • TypeScript for type safety
  • ESLint and Prettier for code quality

🌐 Production Deployment

  1. Build frontend:
    npm run build
  2. Configure backend:
    • Set DEBUG = False in settings
    • Configure MongoDB authentication
    • Set up environment variables
    • Configure CORS settings
    • Set up static/media file serving
    • Install SSL/TLS certificates
    • Configure logging

🧪 Testing

Default superuser credentials for testing:

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

📄 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.