A full stack application providing AI capabilities with a Django backend and React frontend.
- User registration and JWT authentication
- Automated API key generation for users
- Daily rate limiting (10 requests/day per user)
- Usage tracking dashboard
- AI Endpoints powered by Google Gemini API (Summarize, Explain, Review Code)
- Clean, dark-mode preferred UI built with React and TailwindCSS v4
- Node.js (v18+ recommended)
- Python (v3.10+ recommended)
- Google Gemini API Key
cd backend
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On Mac/Linux:
source venv/bin/activate
# Install dependencies
pip install django djangorestframework djangorestframework-simplejwt django-cors-headers google-generativeai python-dotenv
# Run migrations
python manage.py makemigrations
python manage.py migrate
# Create a superuser for the admin panel
python manage.py createsuperuser
# Start the development server
python manage.py runservercd frontend
# Install dependencies
npm install
# Start the Vite development server
npm run devCreate a .env file in the backend directory with your Gemini API key. See .env.example for the required format.
If you don't provide a key, a dummy key will be used and the API will return errors.
- Open
http://localhost:5173to access the React Frontend. - Open
http://localhost:8000/admin/to access the Django Admin Panel.