Follow these steps to run the application locally:
-
Clone the repository:
git clone https://github.com/vadimdk/book-list-app.git cd book-list-app
-
Install dependencies:
npm install
-
Start the json-server:
npm run server
link to json-server http://localhost:3001/books
-
Start the development server:
npm run dev
-
Open the application in your browser: Open your browser and navigate to
http://localhost:5173/
-
Build the application for production:
npm run build
-
Preview the production build:
npm run preview
These steps will help you set up and run the application locally for development and production purposes.