Skip to content

Sahil-4/book-lend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š 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:

docker-compose up --build

Access the services:

πŸ“ Directory Overview

book-lend/
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ controllers/
β”‚   β”‚   β”œβ”€β”€ models/
β”‚   β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   └── prisma/
β”‚   β”‚
β”‚   └── Dockerfile
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ api/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ hooks/
β”‚   β”‚   └── lib/
β”‚   β”‚
β”‚   └── Dockerfile
β”‚
└── docker-compose.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •