A simple Git repository checker application that helps you analyze and monitor Git repositories.
- Node.js (v14 or higher)
- npm (Node Package Manager)
- Clone the repository:
git clone <your-repository-url>
cd git-checker- Install dependencies:
npm install- Create a
.envfile in the root directory with the following content:
PORT=3000
GOOGLE_API_KEY=your_google_api_key_hereReplace your_google_api_key_here with your actual Google API key for the Generative AI service.
To run the application in development mode with auto-reload:
npm run devTo run the application in production mode:
npm startThe application will be available at http://localhost:3000 (or the port you specified in the .env file).
git-checker/
├── app.js # Main application entry point
├── public/ # Static files
│ └── js/ # Client-side JavaScript files
├── src/ # Source code
│ ├── routes/ # Express routes
│ └── services/ # Business logic and services
├── .env # Environment variables
└── package.json # Project dependencies and scripts
- express: Web application framework
- simple-git: Git operations
- socket.io: Real-time communication
- @google/generative-ai: Google's Generative AI integration
- dotenv: Environment variables management
- body-parser: Request body parsing middleware
- nodemon: Development server with auto-reload