{"id":22608694,"url":"https://github.com/akapez/book-store-fe","last_synced_at":"2026-04-05T22:33:41.750Z","repository":{"id":266978071,"uuid":"887255050","full_name":"akapez/book-store-fe","owner":"akapez","description":"Booktopia is an online bookstore application employing a scalable frontend architecture","archived":false,"fork":false,"pushed_at":"2025-01-12T13:38:20.000Z","size":2358,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T22:43:44.817Z","etag":null,"topics":["book-store-app","commitlint","e2e","eslint","frontend","frontend-architecture","husky","jest","next-auth","nextjs","playwright","prettier","production","rsc","scalable-architecture","shadcn-ui","typescript","unit-testing","web","yarn"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akapez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T12:38:11.000Z","updated_at":"2025-01-15T03:34:37.000Z","dependencies_parsed_at":"2024-12-07T13:27:53.857Z","dependency_job_id":null,"html_url":"https://github.com/akapez/book-store-fe","commit_stats":null,"previous_names":["akapez/book-store-fe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akapez/book-store-fe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akapez%2Fbook-store-fe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akapez%2Fbook-store-fe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akapez%2Fbook-store-fe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akapez%2Fbook-store-fe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akapez","download_url":"https://codeload.github.com/akapez/book-store-fe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akapez%2Fbook-store-fe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31452899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["book-store-app","commitlint","e2e","eslint","frontend","frontend-architecture","husky","jest","next-auth","nextjs","playwright","prettier","production","rsc","scalable-architecture","shadcn-ui","typescript","unit-testing","web","yarn"],"created_at":"2024-12-08T15:09:04.191Z","updated_at":"2026-04-05T22:33:41.708Z","avatar_url":"https://github.com/akapez.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookstore Application (Booktopia)\n\n![alt text](https://raw.githubusercontent.com/akapez/book-store-fe/refs/heads/main/screenshot.png)\n\nThis project is built using Next.js, NextAuth for authentication, React Hook Form with Zod for form validation, Jest for unit testing, Playwright for end-to-end testing, Redux Toolkit for state management, and shadcn/ui for UI components.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Environment Variables](#environment-variables)\n- [Usage](#usage)\n- [Testing](#testing)\n- [License](#license)\n- [Backend Repository](#backend-repository)\n\n## Features\n\n- **Next.js**: A React framework for building server-side rendered and static web applications.\n- **NextAuth**: Authentication for Next.js applications.\n- **React Hook Form / Zod**: Form handling and validation.\n- **Unit Testing**: Jest is used for writing and running unit tests.\n- **End-to-End Testing**: Playwright is used for writing and running end-to-end tests.\n- **State Management**: Redux Toolkit is used for managing the application state.\n- **shadcn/ui**: A UI component library.\n\n## Installation\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/akapez/book-store-fe.git\n   cd book-store-fe\n   ```\n\n2. **Install dependencies**:\n\n   ```bash\n   yarn install\n   ```\n\n3. **Set up environment variables**:\n   Create a `.env.local` file in the root directory and add the following variables:\n\n   ```env\n   API_BASE_URL=your-api-base-url\n   NEXTAUTH_SECRET=your-nextauth-secret\n   NEXTAUTH_URL=your-nextauth-url\n   NEXT_PUBLIC_BASE_URL=your-next-public-base-url\n   ```\n\n4. **Set up environment variables for testing**:\n   Create a `.env.test` file in the root directory with the same variables as `.env.local`.\n\n## Usage\n\n1. **Start the development server**:\n\n   ```bash\n   yarn dev\n   ```\n\n2. The application will start on `http://localhost:3000`.\n\n3. This project uses `commitlint`. Please follow the convention below when committing your changes:\n\n   ```bash\n   git commit -m \"subject: message\"\n   ```\n\n## Testing\n\n1. **Run unit tests**:\n\n   ```bash\n   yarn test\n   ```\n\n2. **Run end-to-end tests**:\n   ```bash\n   yarn test:e2e\n   ```\n\n## Backend Repository\n\nThe backend application for Booktopia, built with Nest.js, can be found at [https://github.com/akapez/book-store-be](https://github.com/akapez/book-store-be).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakapez%2Fbook-store-fe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakapez%2Fbook-store-fe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakapez%2Fbook-store-fe/lists"}