This web application provides a simple and efficient way to manage a collection of books. Users can view, add, and delete books through a user-friendly interface. This project was built using React.js and Tailwind CSS for the frontend and Node.js, Express, and MongoDB for the backend.
- Features and Benefits
- Installation - Step-by-Step Guide
- API Endpoints
- Testing Endpoints
- Website
- License
- Contributing to Our Project
- Contact Information
- Book Management: Allows users to view, add, and delete books easily.
- RESTful API: Built with Node.js and Express.js, with MongoDB for data storage.
- Responsive Design: The app uses React.js and Tailwind CSS to provide a seamless user experience across devices.
- Form Validation: Ensures that users enter all necessary information when adding a book.
Every star on this repository is a sign of encouragement, a vote of confidence, and a reminder that our work is making a difference. If this project has brought value to you, even in the smallest way, please consider showing your support by giving it a star. ⭐
"Star" button located at the top-right of the page, near the repository name.
Your star isn’t just a digital icon—it’s a beacon that tells us we're on the right path, that our efforts are appreciated, and that this work matters. It fuels our passion and drives us to keep improving, building, and sharing.
If you believe in what we’re doing, please share this project with others who might find it helpful. Together, we can create something truly meaningful.
Thank you for being part of this journey. Your support means the world to us. 🌍💖
- Step 1: Clone the repository.
git clone https://github.com/darsan-in/bookstore.git
-
Step 2: Navigate to the project directory and install dependencies for both frontend and backend.
cd bookstore npm install
-
Step 3: Start the application.
npm run dev
- Get All Books:
GET /books
- Retrieves a list of all books. - Add a Book:
POST /books
- Adds a new book withtitle
,author
, anddescription
fields. - Delete a Book:
DELETE /books/:id
- Deletes a book by its ID.
curl -X GET https://bookstore-indol-ten.vercel.app/books
curl -X POST https://bookstore-indol-ten.vercel.app/books \
-H "Content-Type: application/json" \
-d '{
"title": "Book Title",
"author": "Author Name",
"desc": "A brief description of the book.",
"thumbnail": "http://example.com/thumbnail.jpg"
}'
curl -X DELETE https://bookstore-indol-ten.vercel.app/books/12345
- Replace
https://bookstore-indol-ten.vercel.app
with your actual production URL if needed. - Replace
"Book Title"
,"Author Name"
,"A brief description of the book."
, and thethumbnail
URL with the appropriate values for the book. - Replace
12345
with the actual book ID you want to delete.
This project is licensed under the MIT License.
We welcome contributions to improve the project! Please review our Contribution Guidelines before submitting a pull request.
For any questions, please reach out via hello@darsan.in or LinkedIn.
- book-listing
- react-app
- node-backend
- mongodb
- real-time
- free-hosting