Skip to content

dr5hn/csc-update-tool

Repository files navigation

CSC Update Tool

Laravel TailwindCSS

The CSC Update Tool is a Laravel-based application designed to manage and track database change requests. It provides a structured workflow for submitting, reviewing, and implementing changes to database records.

Features

  • User Authentication

    • Role-based access control (User, Moderator, Admin)
    • Email verification
    • Password reset functionality
  • Change Request Management

    • Create, view, and track change requests
    • Commenting system for requests
    • File attachments for supporting documents
    • Search and filter functionality
  • Data Management

    • Paginated data viewing
    • Data validation and backup
    • Audit logging and change history tracking
  • Performance Optimization

    • Fast page load times (< 2 seconds)
    • Lazy loading for large datasets
    • Caching for frequently accessed data

Technology Stack

  • Backend: Laravel 11
  • Frontend: Tailwind CSS, Alpine.js
  • Database: MySQL
  • Caching: Redis
  • Queue: Database
  • Authentication: Magic Link, Github

Installation

  1. Clone the repository:
git clone https://github.com/dr5hn/csc-update-tool.git
cd csc-update-tool
  1. Install dependencies:
composer install
npm install
  1. Configure environment variables:
cp .env.example .env
  1. Generate application key:
php artisan key:generate
  1. Run migrations:
php artisan migrate
  1. Configure environment variables:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=csc-update-tool
DB_USERNAME=root
DB_PASSWORD=
  1. Run the development server:
npm run dev
php artisan serve

Configuration

Key configuration files:

  • config/change-request.php - Change request settings
  • config/services.php - Third-party service credentials
  • tailwind.config.js - Tailwind CSS configuration

Environment variables:

  • APP_NAME - Application name
  • MAIL_* - Email configuration
  • GITHUB_CLIENT_ID - GitHub OAuth credentials
  • REDIS_* - Redis connection settings

API Endpoints

Authentication

POST /api/auth/login
POST /api/auth/register
POST /api/auth/logout
POST /api/auth/reset-password

Change Requests

GET /api/change-requests
POST /api/change-requests
GET /api/change-requests/{id}
PUT /api/change-requests/{id}
DELETE /api/change-requests/{id}

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

License

This project is open-source and available under the MIT License.

Security Vulnerabilities

If you discover a security vulnerability, please raise an issue. All security vulnerabilities will be promptly addressed.

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published