Welcome to CyberGuard AI! An intelligent chatbot that helps you with cybersecurity questions, threat detection, and security best practices.
- 🔍 AI-Powered Security Analysis
- 🛡️ Real-time Threat Detection
- 💬 Interactive Chat Interface
- 🔒 Secure Authentication
- 📱 Responsive Design
- Node.js (v16 or later)
- Python (v3.8 or later)
- npm or yarn
- Git
-
Clone the repository
git clone https://github.com/Half-Silver/CyberGuardAI.git cd CyberGuardAI -
Set up the Backend
# Navigate to backend directory cd backend-node # Install Python dependencies pip install -r requirements.txt # Set up environment variables cp .env.example .env # Edit .env with your configuration
-
Set up the Frontend
# Navigate to frontend directory cd ../frontend # Install Node.js dependencies npm install # or yarn install
-
Start the Backend Server
# From the backend-node directory node src/server.jsThe backend will run on
http://localhost:5000 -
Start the Frontend Development Server
# From the frontend directory npm run dev # or yarn dev
The frontend will be available at
http://localhost:3000 -
Access the Application
- Open your browser and go to
http://localhost:3000 - Sign up for a new account or log in if you already have one
- Start chatting with CyberGuard AI!
- Open your browser and go to
CyberGuardAI/
├── backend-node/ # Node.js backend server
│ ├── src/
│ │ ├── config/ # Configuration files
│ │ ├── controllers/ # Request handlers
│ │ ├── models/ # Database models
│ │ └── server.js # Main server file
│ └── .env.example # Example environment variables
│
├── frontend/ # React frontend
│ ├── public/ # Static files
│ └── src/
│ ├── components/ # React components
│ ├── context/ # React context providers
│ └── pages/ # Page components
│
└── docs/ # Documentation
-
Backend Configuration
- Copy
.env.exampleto.envin thebackend-nodedirectory - Update the following variables:
PORT=5000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret OPENROUTER_API_KEY=your_openrouter_api_key
- Copy
-
Frontend Configuration
- Update API endpoints in
frontend/src/config.jsif needed
- Update API endpoints in
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new 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 licensed under the MIT License - see the LICENSE file for details.
- Email: projectx.jslab@gmail.com
- GitHub: @Half-Silver
- Project Link: https://github.com/Half-Silver/CyberGuardAI
