A social platform for readers to search, preview, and share books.
- Frontend: React + Vite + TailwindCSS + Framer Motion
- Backend: Node.js + Express + MongoDB (Mongoose)
- Auth: JWT + bcrypt
- Books: Google Books API
Backend:
cd backend
cp .env.example .env
npm install
npm run devFrontend:
cd frontend
npm install
cp .env.example .env
npm run dev- Backend
.env:PORT,MONGODB_URI,JWT_SECRET,GOOGLE_BOOKS_API_KEY(optional),CORS_ORIGIN - Frontend
.env:VITE_API_BASE
- Backend on Render: Web Service,
npm install+npm start, set env vars - Frontend on Vercel:
npm run build, outputdist, setVITE_API_BASE