A full-stack web application for executing commands and scripts on remote servers. The system provides a modern React frontend for job management and a Node.js/Express backend for secure remote execution with database persistence.
YouTube Link: https://youtu.be/CQrktZWmk4M
- Command Execution: Execute single commands on remote servers
- Script Execution: Run multi-line scripts with preset templates
- Real-time Job Monitoring: Track job status and view outputs in real-time
- Job History: Complete history of executed jobs with filtering and search
- Modern UI: Clean, responsive interface built with Tailwind CSS
- Error Handling: Comprehensive error display and management
- SSH Command Execution: Secure remote command execution via SSH2
- Job Management: Create, track, and manage remote job execution
- MySQL Persistence: Store job history, status, and results
- RESTful API: Clean API endpoints for frontend integration
- Async Processing: Non-blocking command execution
- Job Cancellation: Cancel running jobs
- Health Monitoring: System health checks and status endpoints
βββββββββββββββββββ HTTP/REST API βββββββββββββββββββ SSH βββββββββββββββββββ
β βββββββββββββββββββββΊβ ββββββββββββΊβ β
β React Frontend β β Node.js Backend β β Remote Server β
β (Port 5173) β β (Port 3000) β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
β SQL
βΌ
βββββββββββββββββββ
β β
β MySQL Database β
β β
βββββββββββββββββββ
- Node.js 16+
- MySQL 8.0+
- Git
- SSH access to target remote server
git clone https://github.com/heymitali/remote-job-execution-system.git
cd remote-job-execution-systemcd backend
# Install dependencies
npm install
# Set up MySQL database
mysql -u root -p < database/setup.sql
# Create environment file
cp .env.example .env
# Edit .env with your configuration# Start the backend server
npm start
# Or for development with auto-reload
npm run devcd frontend
# Install dependencies
npm install
# Start the development server
npm run devThe application will be available at:
- Frontend: http://localhost:5173
- Backend API: http://localhost:3000
- Health Check: http://localhost:3000/health
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Mitali Singh - @heymitali
