A modern, enterprise-grade LinkedIn assistant web application.
- Frontend: Next.js 14, Tailwind CSS, React
- Backend: FastAPI (Python 3.10+)
- Database: MongoDB
- AI: Hugging Face API
- UI/UX: LinkedIn-inspired, modern industrial design
- OAuth login (Google, GitHub)
- LinkedIn-style chat, contact management, and message generation
- Profile and settings management
- Industrial-grade UI/UX, responsive and accessible
- Node.js (v18+ recommended)
- Python 3.10+
- Vercel account (for frontend)
- Render account (for backend)
- MongoDB Atlas or your own MongoDB instance
- Hugging Face API key
- Google/GitHub OAuth credentials
NEXTAUTH_URL=https://your-vercel-domain.vercel.app
NEXTAUTH_SECRET=your_nextauth_secret
GITHUB_ID=your_github_client_id
GITHUB_SECRET=your_github_client_secret
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
MONGODB_URI=your_mongodb_connection_string
HUGGINGFACE_API_KEY=your_huggingface_api_key
BACKEND_API_URL=https://your-backend-on-render.com
MONGODB_URI=your_mongodb_connection_string
HUGGINGFACE_API_KEY=your_huggingface_api_key
FRONTEND_URL=https://your-vercel-domain.vercel.app
cd /path/to/LinkPilot
npm install
npm run dev
cd /path/to/LinkPilot/linkedin-scraper-api
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --host 0.0.0.0 --port 8000
- Push your code to GitHub.
- Go to Vercel and import your GitHub repo.
- Set environment variables in Vercel dashboard (
.env.local
values above). - Deploy. Vercel will build and host your Next.js app.
- After deployment, update your backend's
FRONTEND_URL
to your Vercel domain.
- Push
/linkedin-scraper-api
to a separate GitHub repo (or use monorepo, but set root to this folder). - Go to Render, create a new Web Service.
- Connect your repo, set build command:
and start command:
pip install -r requirements.txt
(or your preferred port)uvicorn main:app --host 0.0.0.0 --port 10000
- Set environment variables in Render dashboard (
.env
values above). - Deploy. Render will build and host your FastAPI backend.
- After deployment, update your frontend's
BACKEND_API_URL
to your Render backend URL.
- All environment variables set correctly
- MongoDB Atlas IP whitelist includes both Vercel and Render
- OAuth credentials match deployed domains
- Hugging Face API key is valid
- CORS settings allow frontend-backend communication
- Test login, chat, and all major flows in production
npm run dev
— Start Next.js frontend locallynpm run build && npm start
— Production build locallyuvicorn main:app --reload
— Start FastAPI backend locally
- Auth issues: Check OAuth callback URLs and secrets
- API errors: Check backend logs in Render dashboard
- CORS errors: Ensure both frontend and backend allow each other's domains
- MongoDB errors: Check connection string, IP whitelist, and user permissions
- For issues, open a GitHub issue or contact the maintainer.
- For deployment help, see Vercel Docs and Render Docs.
Enjoy using LinkPilot!