As a Backend Developer, implement JWT token generation, JWT authentication filter, Spring Security configuration, BCrypt password encryption, and role-based access control (USER/ADMIN roles). Expose endpoints: POST /api/auth/register, POST /api/auth/login. Protect all non-public endpoints using JWT filter. Package: com.bookstore.security, com.bookstore.config.
As a Backend Developer, create MySQL database 'bookstore_db' with tables: users, books, cart, orders. Write schema.sql with proper foreign keys and constraints. Write data.sql with sample books across all six categories (Fiction, Technology, Programming, Business, Science, History). Configure Spring Boot application.properties with MySQL datasource, Hibernate DDL settings, and file upload max size for image uploads.
As a Frontend Developer, initialize the React JS project structure with React Router for navigation. Set up src/api/api.js with Axios configured: baseURL=http://localhost:8080/api, JWT token storage in localStorage, Authorization header injection interceptor, and global error handling. Define routes for: Home, Login, Register, Book List, Book Details, Cart, Checkout, Order History, Admin Dashboard, Add Book, Update Book pages. Set up global CSS base styles for modern ecommerce look.
As a Tech Lead, verify the end-to-end integration between the Admin Dashboard/Add Book/Update Book frontend pages and the Books Admin backend API. Ensure admin book CRUD operations (add, edit, delete) work correctly, image uploads are handled and book cover images display properly, admin role guards are enforced both in Spring Security and React route guards, and inventory changes reflect immediately on public book listings. Note: depends on task a74d2430 (Admin Dashboard & Book Management) and task f0bbcec8 (Books API & Image Upload).
As a Tech Lead, verify that the React project setup (Axios interceptors, JWT injection, route guards) integrates correctly with the Spring Boot backend. Ensure the baseURL resolves correctly in all environments, Authorization headers are injected on every protected API call, 401 responses trigger redirect to login, and all defined React Router routes load without errors. Note: depends on task 8a33b05c (React Project Setup & Routing) and task d1e28870 (Backend Auth & Security Setup).
As a Backend Developer, create the User entity (id, name, email, password, role), UserRepository, UserService, and UserController. Expose REST endpoints for user registration and profile retrieval. Use Spring Data JPA with MySQL. Package: com.bookstore.entity, com.bookstore.repository, com.bookstore.service, com.bookstore.controller, com.bookstore.dto.
As a Backend Developer, create the Book entity (id, title, author, description, price, quantity, category, imageUrl), BookRepository, BookService, and BookController. Expose REST endpoints: GET /api/books, GET /api/books/{id}, GET /api/books/category/{category}, GET /api/books/search?title=, POST /api/admin/books, PUT /api/admin/books/{id}, DELETE /api/admin/books/{id}. Implement book cover image upload: store images in backend uploads/books/ folder, save relative path in imageUrl DB field. Seed sample book data across categories: Fiction, Technology, Programming, Business, Science, History.
As a Backend Developer, implement a global exception handler (com.bookstore.exception) using @ControllerAdvice for consistent error responses (404, 400, 401, 403, 500). Create DTO classes (com.bookstore.dto) for request/response objects: UserDTO, BookDTO, CartDTO, OrderDTO, AuthRequest, AuthResponse. Ensures clean API contracts and proper error messaging to the frontend.
As a Frontend Developer, build the Login Page and Register Page with responsive forms. Login form: email + password, submit to POST /api/auth/login, store JWT in localStorage, redirect to home. Register form: name + email + password, submit to POST /api/auth/register. Show form validation errors. Add Navbar with cart icon and user account menu. Implement protected route logic to guard cart, checkout, order history, and admin pages. Note: depends on task_backend_auth and task_backend_user for backend APIs.
As a Frontend Developer, build the Home Page (hero banner, featured books), Book List Page (grid of book cards with search by title and filter by category), and Book Detail Page (full book info with add-to-cart button). Use GET /api/books, GET /api/books/search?title=, GET /api/books/category/{category}, GET /api/books/{id}. Display book cover images from backend uploads. Modern responsive book card UI with CSS. Note: depends on task_backend_books for backend APIs.
As a Frontend Developer, build the Cart Page showing all items in the user's cart with book image, title, price, quantity controls (increment/decrement/remove), and total price calculation. Use GET /api/cart, PUT /api/cart/{id}, DELETE /api/cart/{id}. Show cart item count on Navbar cart icon. Provide 'Proceed to Checkout' button. Handle empty cart state. Note: depends on task_backend_cart for backend APIs.
As a Frontend Developer, build the Checkout Page (order summary, confirm & place order via POST /api/orders) and Order History Page (list past orders with status via GET /api/orders). Show order date, total, status badge, and items. Include success confirmation after placing order. Handle JWT-protected route redirects. Note: depends on task_backend_orders for backend APIs.
As a Frontend Developer, build the Admin Dashboard (overview of books and inventory), Add Book Page (form: title, author, description, price, quantity, category, image upload), and Update Book Page (pre-filled edit form). Use POST /api/admin/books, GET /api/admin/books, PUT /api/admin/books/{id}, DELETE /api/admin/books/{id}. Include image file input for cover upload. Guard pages: ADMIN role only. Note: depends on task_backend_books for backend APIs.
As a Backend Developer, create the Cart entity (id, user, book, quantity), CartRepository, CartService, and CartController. Expose REST endpoints: GET /api/cart (get user's cart), POST /api/cart (add item), PUT /api/cart/{id} (update quantity), DELETE /api/cart/{id} (remove item). Protect all cart endpoints with JWT – USER role only.
As a Tech Lead, verify the end-to-end integration between the Login/Register frontend implementation and the Auth backend API (JWT). Ensure JWT is correctly returned on login, stored in localStorage, attached to subsequent Axios requests via Authorization header, and protected routes properly redirect unauthenticated users. Verify role-based access (USER vs ADMIN) is enforced both in backend Spring Security and frontend route guards.
As a Tech Lead, verify the end-to-end integration between the Book List/Details/Home frontend pages and the Books backend API. Ensure book data loads correctly, search and category filter APIs return correct results, book images load from the backend uploads folder, and add-to-cart interactions work from the Book Detail page. Confirm admin book CRUD operations reflect immediately on the public book listing.
As a Backend Developer, create the Order entity (id, user, totalAmount, orderDate, status), OrderRepository, OrderService, and OrderController. Expose REST endpoints: POST /api/orders (place order, clear cart after success), GET /api/orders (get current user's order history). Protect endpoints with JWT – USER role. Include order status values: PENDING, CONFIRMED, SHIPPED, DELIVERED.
As a Tech Lead, verify the end-to-end integration between the Cart frontend page and the Shopping Cart backend API. Ensure items are correctly added from Book Detail page, quantity updates and removals persist to backend, total price is accurately calculated, and the Navbar cart icon count reflects the real cart state. Confirm JWT authentication is required and unauthorized access is handled gracefully.
As a Tech Lead, verify the end-to-end integration between the Checkout/Order History frontend pages and the Orders backend API. Ensure the checkout page correctly submits cart contents as an order, cart is cleared post-order, order confirmation is displayed, and Order History page accurately lists all past orders with correct statuses. Confirm all order endpoints require JWT authentication.

From timeless classics to today's bestsellers, find the perfect book for every mood, moment, and milestone. Your next adventure starts here.
Hand-picked reads our community loves. Bestsellers, hidden gems, and fresh releases all in one place.
Dive into a world of stories. Whether you love fiction, history, or tech, we have something for everyone.
We make discovering and buying books effortless, so you can focus on what matters most — reading.
Free delivery on orders over $25. Get your books delivered right to your doorstep within 3-5 business days.
Over 10,000 titles across every genre imaginable. From timeless classics to the latest bestsellers.
Shop with confidence. All transactions are encrypted with industry-standard SSL protection.
Not satisfied with your purchase? Return within 30 days for a full refund, no questions asked.
Join over 50,000 readers who have found their next favorite book on PageTurn. Create your free account and unlock personalized recommendations.
Create Free Account →
No comments yet. Be the first!