Log Analyzer is a comprehensive full-stack project designed for efficient log file analysis, prediction, and visualization. The system comprises a Node.js-based backend and a React.js-based frontend. This README provides instructions on setting up and running both the backend and frontend components.
- Node.js installed
- MongoDB installed and running
- Navigate to the
backenddirectory:cd backend - Install dependencies:
npm install - Set up environment variables:
- Create a
.envfile based on the provided.env.example. - Configure the necessary variables such as
MONGO_URIfor the MongoDB connection.
- Create a
- Start the server:
npm start
The backend should now be running at http://localhost:5000.
- Node.js installed
- Navigate to the
frontenddirectory:cd frontend - Install dependencies:
npm install - Start the frontend application:
npm start
The frontend should open in your default browser at http://localhost:3000.
- Access the frontend dashboard at http://localhost:3000.
- Sign in using the provided login system to access the log file analysis functionalities.
- Insert log files into the system for analysis.
- Explore the dashboard to visualize AI-powered predictions and insights derived from the log data.