Skip to content

Book APP is a react web application that contains a variety of books. A user can get a display of the available books and also add a book of their liking to the display.

Notifications You must be signed in to change notification settings

o-brayarn/phase2-Book-App-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOOK APP

By Grace Njuguna

Book App is a react web application that contains a variety of books. One gets a brief detailed description of the book as well as its authors and its genre.

Table of Content

Built With

  • HTML
  • CSS
  • JavaScript
  • React JS
  • JSON Server/Public API

Description

Book APP is a react web application that contains a variety of books. A user can get a display of the available books and also add a book of their liking to the display.

Live Demo Link

Book App

Getting Started

To get a local copy up and running follow these steps:

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Prerequisites

You need an IDE of your choice (preferably Visual Studio Code). You will need a browser (preferably Chrome) to view the webpage. You need to have installed npm and JSON-server on your local machine.

Setup

Clone the project using these links depending on your local environment using https or ssh

Install

  • After a successful clone, move into the project directory and run npm install to install the required node modules

  • Next, run json-server --watch db.json to boot the server/backend

  • Then run npm start to start the react app.

  • If you haven't installed json-server, use npm -i -g json-server to install the server on a global scope

  • Open terminal and navigate into the project root folder, run ls to check if a file db.json is present then run json-server --watch db.json to start the server.

Usage

  • Make sure your json-server is running for the app to work as intended.
  • The project requires an internet connection to work because information is fetched from an external source.

Deployment

Link to deployed work

Author

👤 Grace Laura

📝 License

MIT License

Copyright (c) 2022 Grace Laura

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Book APP is a react web application that contains a variety of books. A user can get a display of the available books and also add a book of their liking to the display.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.8%
  • CSS 17.1%
  • HTML 13.1%