hipnologo / mybooks-frontend

MyBooks Frontend is a React web app for managing a book library using Axios and React Router with authentication and authorization using environment variables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyBooks Frontend

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.

License: Apache License 2.0 Forks Stars Issues GitHub contributors

Installation

To install the required dependencies for this project, run the following command:

npm install

Running the Application

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.

Testing the Application

To launch the test runner in interactive watch mode, use the following command:

npm test

Building the Application

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.

Learn More

To learn more about Create React App, check out the Create React App documentation.

To learn more about React, check out the React documentation.

Troubleshooting

If you encounter any issues while running or building the application, refer to the Create React App documentation for help.

License

This project is licensed under the MIT License.

About

MyBooks Frontend is a React web app for managing a book library using Axios and React Router with authentication and authorization using environment variables.

License:Apache License 2.0


Languages

Language:CSS 92.7%Language:JavaScript 7.0%Language:HTML 0.2%Language:Shell 0.1%Language:Dockerfile 0.0%