This is the backend server for the Kinabot application, which provides audio analysis and AI-powered communication insights.
- Install dependencies:
npm install- Create a
.envfile in the root directory with the following variables:
MONGODB_URI=mongodb://localhost:27017/kinabot
JWT_SECRET=your_jwt_secret_here
GEMINI_API_KEY=your_gemini_api_key_here
PORT=5000
- Start the development server:
npm run devMONGODB_URI: MongoDB connection stringJWT_SECRET: Secret key for JWT token generationGEMINI_API_KEY: Google Gemini API key for AI analysisPORT: Server port (default: 5000)
- Audio file analysis
- Speech-to-text transcription
- Sentiment analysis
- Lexical diversity analysis
- Sentence complexity analysis
- AI-powered communication insights using Google Gemini
POST /api/auth/register: User registrationPOST /api/auth/login: User loginPOST /api/analyze/audio: Audio file analysisPOST /api/gemini/analyze: AI-powered communication insights