Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ajayos/MI_LIBRO

Repository files navigation

MI LIBRO

MI LIBRO is a book management system built with Node.js, Express and Reactjs with MUI Theme.

Docker Repository on Quay

Project Information

Description

MI LIBRO is a web application that allows users to manage books. It provides features such as adding new books, renting or selling books, tracking book status, and user interactions like comments and likes.

Installation

  1. Clone the repository:
git clone https://github.com/Ajayos/MI_LIBRO.git
  1. Change to MI_LIBRO:
cd MI_LIBRO
  1. Install the dependencies:
npm install
  1. Set up the database configuration in the .env file.

  2. Start the server:

npm start

Usage

  1. Start the server:
npm start

The server will start running on http://localhost:3000.

  1. Access the MI LIBRO application in a web browser by visiting http://localhost:3000.

  2. If a Public folder is found in the project directory, the server will serve the index.html file from the Public folder as a static file.

    • If the Public folder exists and contains an index.html file, it will be displayed in the web browser.
    • If the Public folder does not exist or does not contain an index.html file, the server will display a default "Server Running" message.
  3. Use the provided routes to interact with the book management system. For example:

    • To view all books: GET /api/v1/books
    • To add a new book: POST /api/v1/books
    • To add a comment: POST /api/v1/books/:id/comments
    • To like a book: POST //api/v1books/:id/likes
    • *Replace :id with the actual ID of the book.

Note: Make sure to set up the database configuration in the .env file before starting the server.

AltStyle によって変換されたページ (->オリジナル) /