git clone https://github.com/sanayvarghese/infergram.git
cd server
npm i
Add GEMINI API to .env First create a .env file Add the following to the file
GEMINI_API_KEY = "<Your Gemini API>"
npx tsx src/index.ts
Open new terminal in root folder of project
cd infergram-client
npm i
Create .env.local and add the following
NEXT_PUBLIC_SOCKETSERVER=<Your server url eg: http://localhost:3001>
npm run dev
npm run build
npm run start

