Skip to content

A full-stack web application that allows users to manage books—post, update, delete, view, and search for books by title or author.

Notifications You must be signed in to change notification settings

ahadalireach/bookdock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Book Dock

Book Dock is a full-stack MERN application designed to manage books. Users can post, update, delete, and view books, as well as search for them by title or author.

Technologies Used

  • Frontend: React JS, Tailwind CSS
  • Backend: Node JS, Express JS
  • Database: MongoDB
  • Development Tool: Vite

Features

  • Add: Post new books with details including title, author, and published year.
  • Update: Edit existing book details.
  • Delete: Remove books from the database.
  • View: Browse and view book details.
  • Search: Find books by title or author.

Getting Started

Prerequisites

  • Node.js and npm installed
  • VS Code or any other code editor
  • Git (optional, for cloning the repository)

Setup Instructions

  1. Clone the Repository

    git clone https://github.com/ahadalireach/bookdock.git

    Unzip the File

  2. Open with VS Code

    Open the project directory with VS Code or your preferred code editor.

  3. Install Dependencies

    Frontend:

    • Navigate to the frontend directory:

      cd frontend
    • Install the dependencies:

      npm install
    • Run the development server:

      npm run dev

    Backend:

    • Navigate to the backend directory:

      cd backend
    • Create a .env file in the backend directory and add the following environment variables:

      PORT=5000
      MONGO_URI=your_mongodb_connection_string
      JWT_SECRET=your_jwt_secret_key
    • Install the dependencies:

      npm install
    • Start the server:

      npm run dev
  4. Update API URLs

    Ensure that the API URLs in the frontend code are correctly set to point to your local backend server.

  5. Access the Application

    Open your browser and navigate to http://localhost:3000 to view the application.

Live Demo

Contact

For any questions or feedback, please reach out to me at ahadali.reach@gmail.com.

About

A full-stack web application that allows users to manage books—post, update, delete, view, and search for books by title or author.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages