https://github.com/sahil-4/book-lend
https://github.com/sahil-4/book-lend
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sahil-4/book-lend
- Owner: Sahil-4
- Created: 2024-10-27T10:03:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T14:30:54.000Z (3 months ago)
- Last Synced: 2025-03-13T15:31:07.981Z (3 months ago)
- Language: TypeScript
- Size: 2.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📚 Book-Lend
**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.
## 🚀 Monorepo Structure
```
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
```## 🛠️ Tech Stack
**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)## 🔥 Quick Start
Ensure you have Docker installed, then run the following command to spin up both frontend and backend:
```bash
docker-compose up --build
```Access the services:
- Frontend: [http://localhost:3000](http://localhost:3000)
- Backend: [http://localhost:5000](http://localhost:5000)## 📁 Directory Overview
```
book-lend/
│
├── backend/
│ ├── src/
│ │ ├── controllers/
│ │ ├── models/
│ │ ├── routes/
│ │ ├── services/
│ │ └── prisma/
│ │
│ └── Dockerfile
│
├── frontend/
│ ├── src/
│ │ ├── api/
│ │ ├── components/
│ │ ├── hooks/
│ │ └── lib/
│ │
│ └── Dockerfile
│
└── docker-compose.yml
```