BookStore
Description
BookStore is a application that allows you to manage your books. You can add, edit, delete, and search for books. You can also add books to your favorite list.
This turborepo uses pnpm as a package manager. It includes the following packages/apps:
Apps and Packages
docs
: a Next.js appweb
: another Next.js appui
: a stub React component library shared by bothweb
anddocs
applicationseslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Features
- Add a book
- Edit a book
- Delete a book
- Search for a book
- Add a book to your favorite list
- Remove a book from your favorite list
- View your favorite list
- View all books
- Login and Register with JWT, Facebook, Google
- Review a book
- View all reviews of a book
- Shelving a book
- View all shelved books
- View all books in a shelf
Requirements
SCRIPTS
To install all dependencies, run the following command:
FOr install all dependencies
$ pnpm install
Launch the app in development mode
$ pnpm run dev
Build the app for production
$ pnpm run build
Start the app in production mode
$ pnpm start
Lint the code
$ pnpm run lint
Format the code
$ pnpm run format
Run the tests
$ pnpm run test
Run the tests in watch mode
$ pnpm run test:watch