This is a lightweight microservice responsible for AI-powered text analysis using the Google Gemini API.
- Navigate to the directory:
cd moderation-server - Install dependencies:
npm install
- Environment Variables:
Create a
.envfile from.env.exampleand add yourGEMINI_API_KEY.cp .env.example .env
- Start the server:
npm run dev
The moderation server will be available at http://localhost:300x (or as specified in your .env).