MyBooks Frontend is a web application built with React that allows users to manage a book library. The application uses React Router for managing routes and Axios for making HTTP requests to a REST API that manages books. The BookService class is used to simplify the interaction with the API by wrapping Axios. Authentication and authorization are required by the REST API, and the application uses environment variables to store the required user and password.
In addition to the book management functionality, the application also includes a header, footer, and hamburger menu components for easy navigation.
To install the required dependencies for this project, run the following command:
npm install
To run the application, use the following command:
npm start
This will start the application in development mode and open http://localhost:3000 in your browser.
To launch the test runner in interactive watch mode, use the following command:
npm test
To build the application for production, use the following command:
npm run build
This will create a build
folder with the minified and optimized files ready to be deployed.
To learn more about Create React App, check out the Create React App documentation.
To learn more about React, check out the React documentation.
If you encounter any issues while running or building the application, refer to the Create React App documentation for help.
This project is licensed under the MIT License.