{"id":16590061,"url":"https://github.com/uros-5/bookstore","last_synced_at":"2026-04-10T11:05:25.476Z","repository":{"id":152385009,"uuid":"301481369","full_name":"uros-5/bookstore","owner":"uros-5","description":"Bookstore web application. Buy, rate and comment on books.","archived":false,"fork":false,"pushed_at":"2023-09-04T16:48:33.000Z","size":45458,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T12:51:50.137Z","etag":null,"topics":["alpiinejs","alpine","bootstrap","css","django","htmx","javascript","python","sqlite"],"latest_commit_sha":null,"homepage":"","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/uros-5.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}},"created_at":"2020-10-05T17:04:57.000Z","updated_at":"2024-10-24T10:11:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"d31c3df1-d1d7-4179-bd45-c1ed510aeb1b","html_url":"https://github.com/uros-5/bookstore","commit_stats":null,"previous_names":["uros-5/bookstore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uros-5/bookstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uros-5%2Fbookstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uros-5%2Fbookstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uros-5%2Fbookstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uros-5%2Fbookstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uros-5","download_url":"https://codeload.github.com/uros-5/bookstore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uros-5%2Fbookstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31639526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["alpiinejs","alpine","bootstrap","css","django","htmx","javascript","python","sqlite"],"created_at":"2024-10-11T23:10:49.641Z","updated_at":"2026-04-10T11:05:25.450Z","avatar_url":"https://github.com/uros-5.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Bookstore app\n\nI made this web app in the last year at the college :school:.\n\nIt didn't had fancy JavaScript framework, just pure Django + little bit of jQuery :older_man:.\n\nThere is hype going around with HTMX library. So I decided to give it a try :cool:.\n\n## Tech Stack\n\nBackend: Python + Django :snake:\n\nDatabase: SQLite :department_store:\n\nFrontend: HTMX + Alpine.js :snowboarder: \n\n## Run the application\n\n### Clone the repo\n\n```console\ngit clone https://github.com/uros-5/bookstore\ncd bookstore\n```\n\n### Setup virtual environment for python.\n\n```console\npython3 -m venv venv\nsource venv/bin/activate\n```\n\n### Install dependencies\n\n```console\npip3 install -r requirements.txt\n```\n\n### Make migrations for database\n\n```console\npython3 manage.py makemigrations\npython3 manage.py migrate\n```\n\n### Fill database with data(users, authors, books, orders)\n\nPopulating database will be executed in 'django shell'.\n\n```console\npython3 manage.py shell\n```\nIn shell paste this\n\n```python\nfrom bookstore import db_work\n```\nIt will fetch images and do all database related work.\n\n### Build frontend\n\n```console\ncd bookstore/ui\nnpm install\nnpm run build\ncd ../..\n```\n\n### Run server\n\n```console\nsh runserver.sh\n```\n\n### Screenshots\n\n![screenshot1](./bookstore/ui/src/media/images/screenshots/screenshot1.png)\n\n![screenshot2](./bookstore/ui/src/media/images/screenshots/screenshot2.png)\n\n![screenshot3](./bookstore/ui/src/media/images/screenshots/screenshot3.png)\n\n![screenshot4](./bookstore/ui/src/media/images/screenshots/screenshot4.png)\n\n![gif](./bookstore/ui/src/media/images/screenshots/htmx.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furos-5%2Fbookstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furos-5%2Fbookstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furos-5%2Fbookstore/lists"}