{"id":31006396,"url":"https://github.com/brytebee/book_shelf","last_synced_at":"2025-09-13T02:11:29.087Z","repository":{"id":313563155,"uuid":"1051858736","full_name":"brytebee/book_shelf","owner":"brytebee","description":"I create a mini book shelf api with DRF and sqlite3 using a HTML template to render the FE.","archived":false,"fork":false,"pushed_at":"2025-09-06T23:11:18.000Z","size":519,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-06T23:31:54.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/brytebee.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-06T21:45:18.000Z","updated_at":"2025-09-06T21:49:54.000Z","dependencies_parsed_at":"2025-09-06T23:31:56.619Z","dependency_job_id":"161bfe09-aef1-4711-ad95-3b8f20af5337","html_url":"https://github.com/brytebee/book_shelf","commit_stats":null,"previous_names":["brytebee/book_shelf"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/brytebee/book_shelf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brytebee%2Fbook_shelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brytebee%2Fbook_shelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brytebee%2Fbook_shelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brytebee%2Fbook_shelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brytebee","download_url":"https://codeload.github.com/brytebee/book_shelf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brytebee%2Fbook_shelf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274907841,"owners_count":25371822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"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":[],"created_at":"2025-09-13T02:11:27.112Z","updated_at":"2025-09-13T02:11:29.060Z","avatar_url":"https://github.com/brytebee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BookShelf Management System\n\nA modern, responsive web application for managing a shared book collection with user authentication and role-based access control.\n\n## Image\n\n![alt text](image.png)\n\n## Features\n\n### Public Features\n\n- **Browse Books**: View all books in the collection with search and filtering\n- **Search \u0026 Filter**: Find books by title, author, genre, or availability status\n- **User Registration**: Create new accounts to contribute to the collection\n\n### User Features\n\n- **Personal Library**: View books you've added to the collection\n- **Add Books**: Contribute new books with detailed information\n- **Profile Management**: Update your account information\n- **Book Management**: Track book availability and details\n\n### Admin Features\n\n- **User Management**: View and manage all registered users\n- **Book Administration**: Full access to all books in the system\n- **System Overview**: Administrative dashboard for complete system control\n\n## Technology Stack\n\n- **Frontend**: Pure HTML5, CSS3, JavaScript (ES6+)\n- **Styling**: Custom CSS with glassmorphism design and responsive layout\n- **Authentication**: JWT token-based authentication with refresh tokens\n- **API Integration**: RESTful API communication with automatic token refresh\n\n## Getting Started\n\n1. Open `index.html` in a web browser\n2. Browse books without authentication, or\n3. Register/login to access personal features\n4. Admin users have additional management capabilities\n\n## API Endpoints\n\nThe application expects the following API structure:\n\n- `POST /api/v1/auth/login/` - User authentication\n- `POST /api/v1/auth/register/` - User registration\n- `GET /api/v1/auth/profile/` - Get/update user profile\n- `GET /api/v1/books/` - List all books (with search/filter)\n- `POST /api/v1/books/add/` - Add new book\n- `GET /api/v1/books/my-books/` - Get user's books\n- `GET /api/v1/auth/admin/users/` - Admin: manage users\n- `GET /api/v1/books/admin/all-books/` - Admin: manage all books\n\n## Design Features\n\n- **Modern UI**: Glassmorphism design with gradient backgrounds\n- **Responsive**: Mobile-friendly layout that adapts to all screen sizes\n- **Smooth Interactions**: Hover effects and transitions for better UX\n- **Accessible**: Semantic HTML and proper form validation\n- **Secure**: Token-based authentication with automatic refresh\n\n## User Roles\n\n- **Public**: Can browse and search books\n- **Registered Users**: Can add books and manage their profile\n- **Administrators**: Full system access and user management\n\n## Browser Compatibility\n\nCompatible with all modern browsers supporting ES6+ features including:\n\n- Chrome 60+\n- Firefox 55+\n- Safari 12+\n- Edge 79+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrytebee%2Fbook_shelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrytebee%2Fbook_shelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrytebee%2Fbook_shelf/lists"}