Absolutely, here's a structured GitHub README format for Crash Eye:
Crash Eye is a robust application designed to streamline crash detection, categorization, and resolution in software development cycles. It simplifies the process for developers by efficiently managing crash data and enabling swift issue resolution.
To initiate the crash detection process:
-
Clone the repository:
git clone https://github.com/RohanBanerjee88/CrashEye.git
-
Run the provided shell scripts to install the required modules and initialize crash detection:
cd crash-eye chmod +x req_modules_win.ps1 ./req_modules_win.ps1
The backend features a dummy storage system for testing purposes. It captures and stores crash log files to simulate real-time crash scenarios.
The frontend interface pulls data from MongoDB, categorized into three databases: critical, fatal, and warning. These categories are displayed under different tabs in the developer's UI for issue resolution.
Developers can resolve issues directly from the UI by clicking the 'Resolve' button, which dynamically erases the corresponding crash data from the database, ensuring efficient data flow management.
// Sample code snippet demonstrating crash resolution process
function resolveIssue(issueId) {
// Call backend API to mark issue as resolved
axios.post(`/resolve/${issueId}`)
.then((response) => {
// Update UI or perform actions after successful resolution
})
.catch((error) => {
console.error('Error resolving issue:', error);
});
}Feel free to contribute by opening issues or submitting pull requests. Follow the contributing guidelines for more information.
To view the backend code, navigate to CrashEye/Test/new_try.