{"id":28816727,"url":"https://github.com/fattahsamit/boimarker","last_synced_at":"2026-04-11T02:01:51.414Z","repository":{"id":299655669,"uuid":"1003570449","full_name":"fattahsamit/Boimarker","owner":"fattahsamit","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-17T16:03:32.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-17T16:48:18.992Z","etag":null,"topics":["fastapi","nextjs","postgresql","react","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"Python","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/fattahsamit.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,"zenodo":null}},"created_at":"2025-06-17T10:49:37.000Z","updated_at":"2025-06-17T16:03:35.000Z","dependencies_parsed_at":"2025-06-17T16:58:36.966Z","dependency_job_id":null,"html_url":"https://github.com/fattahsamit/Boimarker","commit_stats":null,"previous_names":["fattahsamit/boimarker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fattahsamit/Boimarker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fattahsamit%2FBoimarker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fattahsamit%2FBoimarker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fattahsamit%2FBoimarker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fattahsamit%2FBoimarker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fattahsamit","download_url":"https://codeload.github.com/fattahsamit/Boimarker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fattahsamit%2FBoimarker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260595743,"owners_count":23033789,"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","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":["fastapi","nextjs","postgresql","react","tailwindcss"],"created_at":"2025-06-18T17:06:40.249Z","updated_at":"2026-04-11T02:01:46.338Z","avatar_url":"https://github.com/fattahsamit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boimarker\n\nA modern web application for managing your eBook library. Upload, organize, and read your books from anywhere with this sleek, responsive interface.\n\n---\n\n## Features\n\n- **User Authentication**: Secure registration and login system\n- **Book Management**: Upload, browse, and organize your eBook collection\n- **Online Reader**: Read your books directly in the browser\n- **Responsive Design**: Works on desktop and mobile devices\n- **Dark/Light Mode**: Toggle between themes for comfortable reading\n- **File Support**: Handles popular formats like PDF and EPUB\n\n---\n\n## Technologies\n\n- **Frontend:** Next.js with TypeScript, Shadcn\n- **Backend:** FastAPI\n- **Auth:** JWT tokens\n- **Database:** PostgreSQL\n- **File Storage:** Local\n\n---\n\n## Getting Started\n\n### 1. Backend\n\n#### Setup\n\n```bash\ncd backend\npython -m venv venv\nvenv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n#### Run\n\n```bash\nuvicorn src.main:app --reload\n```\n\n#### Environment\n\n- By default, runs on [http://localhost:8000](http://localhost:8000)\n- Make sure CORS is enabled for frontend origin (`http://localhost:3000` by default)\n\n### 2. Frontend (Next.js)\n\n#### Setup\n\n```bash\ncd frontend\nnpm install\n```\n\n#### Run\n\n```bash\nnpm run dev\n```\n\n#### Environment\n\n- By default, runs on [http://localhost:3000](http://localhost:3000)\n- Update API URLs in code if backend is running elsewhere\n\n---\n\n## API Endpoints\n\n### Authentication\n\n- `POST /register` — Register a new user\n\n- `POST /token` — Login and retrieve access token\n\n### Books\n\n- `GET /books` — List all books\n- `POST /books/upload` — Upload a new book\n- `GET /books/{id}` — Get book details\n- `GET /books/{id}/file` — Get book file for reading\n- `GET /books/{id}/download` — Download book file\n\n---\n\n## Environment Variables\n\n- **Backend:** (e.g., DB connection string, JWT secret)\n- **Frontend:** (e.g., NEXT_PUBLIC_API_URL)\n\n---\n\n## Development Notes\n\n- Book upload and browsing are protected; login is required.\n- Update field names in frontend/backend if you change the schema\n- Make sure the backend and frontend API expectations (field names, content-types) match exactly.\n\n---\n\n## License\n\nMIT\n\n---\n\n## Credits\n\nCreated by Fattah Samit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffattahsamit%2Fboimarker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffattahsamit%2Fboimarker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffattahsamit%2Fboimarker/lists"}