{"id":28562469,"url":"https://github.com/amirziyacode/ai-bookstore","last_synced_at":"2026-07-10T01:31:11.498Z","repository":{"id":285942855,"uuid":"959817330","full_name":"amirziyacode/Ai-BookStore","owner":"amirziyacode","description":"Front end of Spring BookStore with next js you can find a lot features and us it in your project don't forget be free software is for freedom","archived":false,"fork":false,"pushed_at":"2025-06-03T13:39:07.000Z","size":584,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T20:43:39.630Z","etag":null,"topics":["bookstore","chatbot","front-end-development","nextjs"],"latest_commit_sha":null,"homepage":"https://nextjs.org/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amirziyacode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-04-03T11:59:16.000Z","updated_at":"2025-06-03T13:39:08.000Z","dependencies_parsed_at":"2025-04-18T11:59:30.061Z","dependency_job_id":"bb51a30f-eec9-49d8-980d-198a85a2b597","html_url":"https://github.com/amirziyacode/Ai-BookStore","commit_stats":null,"previous_names":["amirziyacode/ai-bookstore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amirziyacode/Ai-BookStore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirziyacode%2FAi-BookStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirziyacode%2FAi-BookStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirziyacode%2FAi-BookStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirziyacode%2FAi-BookStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirziyacode","download_url":"https://codeload.github.com/amirziyacode/Ai-BookStore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirziyacode%2FAi-BookStore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35317805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bookstore","chatbot","front-end-development","nextjs"],"created_at":"2025-06-10T12:09:31.529Z","updated_at":"2026-07-10T01:31:11.474Z","avatar_url":"https://github.com/amirziyacode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![book-01-Converted-01-1024x428](https://github.com/user-attachments/assets/5565902c-5e4b-4b94-b735-348058beb444)\n\n[![GitHub stars](https://img.shields.io/github/stars/iampawan/FlutterExampleApps.svg?style=social\u0026label=Star)](https://github.com/amirziyacode)\n[![GitHub forks](https://img.shields.io/github/forks/iampawan/FlutterExampleApps.svg?style=social\u0026label=Fork)](https://github.com/amirziyacode?tab=repositories)\n\n# 📚 Online Bookstore App\n\nA full-stack **online bookstore** web application built with **Spring Boot** (backend) and **Next.js** (frontend). The platform allows users to browse and purchase books, chat with an AI assistant, and provides an admin panel for managing orders and content.\n\n---\n\n## 🚀 Features\n\n### 👥 User Authentication\n- Register and log in securely\n- Passwords are hashed and stored securely\n- JWT-based authentication\n\n### 📖 Bookstore\n- Browse all available books\n- View book details\n- Add books to cart and checkout\n- Order history for users\n\n### 🛠️ Admin Panel\n- View and manage all orders\n- Add, edit, and delete books\n- (Optional) Manage users\n\n### 🤖 AI Chatbot\n- Integrated chatbot powered by AI (e.g., ChatGPT)\n- Users can ask for book recommendations, help with the site, or general inquiries\n\n---\n\n## 🧱 Tech Stack\n\n| Layer     | Technology         |\n|-----------|--------------------|\n| Frontend  | Next.js (React)    |\n| Backend   | Spring Boot (Java) |\n| Database  | PostgreSQL / MySQL |\n| Auth      | JWT                |\n| AI Chatbot| OpenAI API (or similar) |\n\n---\n\n## 📁 Project Structure\n\n### Backend (Spring Boot)\n- `/controllers` – REST API controllers\n- `/models` – JPA entities like `User`, `Book`, `Order`\n- `/services` – Business logic\n- `/config` – Security \u0026 JWT configurations\n\n### Frontend (Next.js)\n- `/pages` – Routing (e.g., `/books`, `/login`, `/admin/orders`)\n- `/components` – Reusable UI components (e.g., `Navbar`, `ChatBotWidget`, `BookCard`)\n- `/utils` – Helpers like API clients and auth handlers\n\n---\n\n## 🔌 API Overview\n\n| Method | Endpoint             | Description             |\n|--------|----------------------|-------------------------|\n| POST   | `/api/auth/register` | Register a new user     |\n| POST   | `/api/auth/login`    | Login user              |\n| GET    | `/api/books`         | List all books          |\n| GET    | `/api/books/{id}`    | Book details            |\n| POST   | `/api/orders`        | Create a new order      |\n| GET    | `/api/admin/orders`  | Admin: list all orders  |\n\n---\n\n## 📸 Demo\n\n🔗 [Live Demo](https://ai-book-store-jyd2.vercel.app/)\n\nVisit the deployed version of the app to explore features like book browsing, AI chatbot, and admin panel (if authorized).\n\n---\n\n## 🧠 Future Enhancements\n- Payment gateway integration\n- Book ratings and reviews\n- Personalized recommendations\n- Notifications system\n\n---\n\n## 📦 Setup Instructions\n\n### Frontend (Next.js)\n\n1. Navigate to the frontend directory:\n   ```bash\n   git clone https://github.com/amirziyacode/Ai-BookStore\n2. Install Packages:\n```bash\n  npm install --force\n  npm run dev \n```\n3. Visit the app in your browser at:\n```text\nhttp://localhost:3000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirziyacode%2Fai-bookstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirziyacode%2Fai-bookstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirziyacode%2Fai-bookstore/lists"}