RESTful APIs :Build a BookSearch App -Ver 2.0

Build a BookSearch App without Custom Hook

Initial Steps

  1. Create vite+react project

// Create Vite+React Project
$npm create vite@latest
>Project name : bookshelf
>Select a framework: >React
>Select a variant: >JavaScript
$cd bookshelf
  1. Open the project with visual studio code and add a few dependencies

// Open the project
$code .
inside of vscode terminal
$npm install
$npm install bootstrap
$npm run dev
  1. Open App.jsx and add the following library at top area.

  1. Open index.html and add third-party stylesheet bootstrap as shown below:

  1. Test and check the BookShelf App by invoking the following:

  1. Before we start making a new component, open App.jsx file and delete initial code created when initiated the new project except for the main App() function block.

Last updated