Book-Lend is a full-stack web application that allows users to lend, borrow, and manage books while facilitating real-time chat and notifications. The project is structured as a monorepo containing both frontend (Next.js) and backend (Node.js/Express) services.
book-lend/
β README.md (Root)
β docker-compose.yml
β
βββ backend/ (Node.js/Express, Prisma, PostgreSQL, Redis)
β βββ README.md
β
βββ frontend/ (Next.js, Redux Toolkit, Tailwind CSS)
βββ README.md
Frontend:
- Next.js
- Redux Toolkit
Backend:
- Node.js with Express.js
- Prisma ORM
- PostgreSQL
- Redis
- Docker
Others:
- Postman (API testing)
- Docker Compose (for container orchestration)
Ensure you have Docker installed, then run the following command to spin up both frontend and backend:
docker-compose up --build
Access the services:
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
book-lend/
β
βββ backend/
β βββ src/
β β βββ controllers/
β β βββ models/
β β βββ routes/
β β βββ services/
β β βββ prisma/
β β
β βββ Dockerfile
β
βββ frontend/
β βββ src/
β β βββ api/
β β βββ components/
β β βββ hooks/
β β βββ lib/
β β
β βββ Dockerfile
β
βββ docker-compose.yml