Skip to content

tushar-342/book-Store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📚 BookStore App (MERN Stack)

A complete full-stack web application built using the MERN ecosystem (MongoDB, Express.js, React, Node.js). This app allows users to manage a book inventory, browse through lists, view details, and perform complete CRUD operations through a clean, responsive layout.


🛠️ Tech Stack

  • Frontend: React.js, Tailwind CSS (or Axios)
  • Backend: Node.js, Express.js
  • Database: MongoDB Atlas (Mongoose Object Modeling)

🚀 Features

  • Full CRUD Operations: Create, Read, Update, and Delete book profiles seamlessly.
  • RESTful API Architecture: Robust endpoints managing backend operations.
  • Responsive Design: Optimized experience across mobile, tablet, and desktop viewports.
  • Environment Security: Secret database URLs and credentials hidden using .env.

📂 Project Structure

BOOKSTOREAPP/
├── Backend/          # Node.js + Express backend setup
│   ├── controller/   # API logic controllers
│   ├── model/        # Mongoose database schemas
│   ├── route/        # Backend routing configurations
│   ├── .env          # Private environment configurations (Ignored)
│   └── index.js      # Server entry file
├── Frontend/         # React user interface
└── .gitignore        # Rules controlling what Git uploads

⚙️ Local Installation & Setup

Follow these simple steps to run this application on your local machine:

1. Clone the Project

git clone https://github.com
cd book-Store

2. Configure the Backend

Navigate to the Backend directory, install packages, and create your environment variables file:

cd Backend
npm install

Create a .env file inside the Backend folder and add your connection string:

PORT = 5000
mongoDBURL = your_mongodb_connection_string_here

Start your development server:

npm start
# or npm run dev (depending on your package.json script)

3. Configure the Frontend

Open a new terminal window, navigate to the Frontend directory, install packages, and start the layout viewer:

cd Frontend
npm install
npm run dev

🌐 API Endpoints Preview

Method Endpoint Description
POST /books Register a new book to the database
GET /books Retrieve all books in storage
GET /books/:id Fetch unique details of a single book
PUT /books/:id Update structural information of a book
DELETE /books/:id Drop a book entry permanently

About

BookStore is a full-stack MERN application that enables users to manage books through a modern and responsive interface. It supports CRUD operations, RESTful APIs, MongoDB database integration, and seamless frontend-backend communication. Built with React, Node.js, Express.js, and MongoDB for efficient book management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors