/nyt-books-bestsellers

NYC bestsellers books listings

Primary LanguageTypeScript

NYT best sellers

This application uses NYT Books API to present the best sellers ranking in a clean and practical way. Navigate between NYT-curated best sellers lists and keep track of each book's ranking history.

Features

  • React (Vite)
  • Typescript
  • Eslint
  • Axios
  • React-Query (server state)
  • Tailwind
  • shadcn-ui (component lib)

Running the app

The app uses Vite to run the development environment - Node.js (+16) required

1. Clone the repo into your machine

git clone git@github.com:shoxton/nyt-books-bestsellers.git

2. Setup environment

cd into the app folder and copy .env.example into .env and paste your NYT Books api-key as your VITE_API_KEY variable

cd nyt-books-bestsellers/
cp .env.example .env

3. Install dependencies and start dev server

Run npm install to install the project dependencies. After that, you can run npm run dev and access it on http://localhost:5173/