MI LIBRO is a book management system built with Node.js
, Express
and Reactjs
with MUI
Theme.
- Version: 1.0.1
- Repository: https://github.com/Ajayos/MI_LIBRO
- Authors:
Ajay o s
,Akarsh Krishna
,Abinas Sulaimans
,Saran T K
,Yasir Muhd
- Created: 2023-05-17
- Modified: 2023-05-17
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.
- Clone the repository:
git clone https://github.com/Ajayos/MI_LIBRO.git
- Change to MI_LIBRO:
cd MI_LIBRO
- Install the dependencies:
npm install
-
Set up the database configuration in the
.env
file. -
Start the server:
npm start
- Start the server:
npm start
The server will start running on http://localhost:3000.
-
Access the MI LIBRO application in a web browser by visiting http://localhost:3000.
-
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.
-
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.