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.
-
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
- Backend: Laravel 11
- Frontend: Tailwind CSS, Alpine.js
- Database: MySQL
- Caching: Redis
- Queue: Database
- Authentication: Magic Link, Github
- Clone the repository:
git clone https://github.com/dr5hn/csc-update-tool.git
cd csc-update-tool
- Install dependencies:
composer install
npm install
- Configure environment variables:
cp .env.example .env
- Generate application key:
php artisan key:generate
- Run migrations:
php artisan migrate
- 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=
- Run the development server:
npm run dev
php artisan serve
Key configuration files:
config/change-request.php
- Change request settingsconfig/services.php
- Third-party service credentialstailwind.config.js
- Tailwind CSS configuration
Environment variables:
APP_NAME
- Application nameMAIL_*
- Email configurationGITHUB_CLIENT_ID
- GitHub OAuth credentialsREDIS_*
- Redis connection settings
POST /api/auth/login
POST /api/auth/register
POST /api/auth/logout
POST /api/auth/reset-password
GET /api/change-requests
POST /api/change-requests
GET /api/change-requests/{id}
PUT /api/change-requests/{id}
DELETE /api/change-requests/{id}
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a pull request
This project is open-source and available under the MIT License.
If you discover a security vulnerability, please raise an issue. All security vulnerabilities will be promptly addressed.
- Laravel
- Tailwind CSS
- Mailtrap for email testing