This is a simple full-stack application that creates a simple cover letter based on a job description from JobsDB webpage and candidate's information.
For LLM API we use OpenRouter. If you want to run this locally, you would have to create API key from OpenRouter. Create .env file in server/ directory and store your API key like below:
OPENROUTER_API_KEY=your_api_key
In a development setup, client application runs on port 3000 and server application runs on port 8000. If you want to use different port for the client app, change the CORSMiddleware allow_origins url as well (in server.py).
cd server
pip install -r requirements.txt
python server.pycd client
npm install
npm run dev