{"id":17497017,"url":"https://github.com/yogyy/fool-translations-api","last_synced_at":"2026-05-08T05:44:23.818Z","repository":{"id":258311809,"uuid":"865469984","full_name":"yogyy/fool-translations-api","owner":"yogyy","description":"novel collection api","archived":false,"fork":false,"pushed_at":"2025-01-25T16:03:55.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T19:30:37.555Z","etag":null,"topics":["bun","hono","lucia-auth","oslo","sqlite"],"latest_commit_sha":null,"homepage":"","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/yogyy.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":"2024-09-30T15:26:21.000Z","updated_at":"2025-01-25T16:03:59.000Z","dependencies_parsed_at":"2024-10-24T20:58:01.976Z","dependency_job_id":"142b2b79-e270-4e59-8e92-79cce924fac9","html_url":"https://github.com/yogyy/fool-translations-api","commit_stats":null,"previous_names":["yogyy/fool-translations-api"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogyy%2Ffool-translations-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogyy%2Ffool-translations-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogyy%2Ffool-translations-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogyy%2Ffool-translations-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yogyy","download_url":"https://codeload.github.com/yogyy/fool-translations-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083043,"owners_count":20720898,"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":["bun","hono","lucia-auth","oslo","sqlite"],"created_at":"2024-10-19T15:09:56.723Z","updated_at":"2026-05-08T05:44:23.813Z","avatar_url":"https://github.com/yogyy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# installation\n\nYou need [bun](https://bun.sh/) installed.\n\n```bash\nbun install\n```\n\n## Generate Migration and create Sqlite database\n\n```bash\nbun generate\n```\n\n### Run Migration\n\n```bash\nbun migrate\n```\n\n### Run Seeding (optional)\n\nto run seeding, you need to turn on the server first, and then request to /api/v1/testing/seeding\n\n```bash\nbun dev\n```\n\n```bash\ncurl localhost:8787/api/v1/testing/seeding\n```\n\n### testing\n\nmake sure you're running seeding\n\n```bash\nbun test\n```\n\n### run server\n\n```bash\nbun dev\nopen http://localhost:8787 #wrangler\n```\n\n### Available Routes\n\n#### Auth Routes\n\n```bash\nGET     /api/v1/auth/validate\nGET     /api/v1/auth/invalidate\nPOST    /api/v1/auth/signup\nPOST    /api/v1/auth/signin\nPOST    /api/v1/auth/signout\n```\n\n#### OAuth Routes\n\n```bash\nGET     /api/v1/oauth/discord\nGET     /api/v1/oauth/google\n```\n\n#### Novel Routes\n\n```bash\nGET     /api/v1/novels\nGET     /api/v1/novels/featured/hot\nGET     /api/v1/novels/featured/top\nGET     /api/v1/novels/:id\n\nGET     /api/v1/chapters\nGET     /api/v1/chapters/:id\n\nGET     /api/v1/novels/:id/favorite\nPOST    /api/v1/novels/:id/favorite\n\nGET     /api/v1/novels/:id/subscribe\nPOST    /api/v1/novels/:id/subscribe\n\nGET     /api/v1/novels/:id/rating\nPOST    /api/v1/novels/:id/rating\n```\n\n#### Admin Routes\n\n```bash\nPOST    /api/v1/admin/novel\nPUT     /api/v1/admin/novel/:id\nDELETE  /api/v1/admin/novel/:id\nPOST    /api/v1/admin/chapter\nPUT     /api/v1/admin/chapter/:id\nDELETE  /api/v1/admin/chapter/:id\n```\n\n#### Notification Routes\n\n```bash\nGET     /api/v1/notifications\nPATCH   /api/v1/notifications\nDELETE  /api/v1/notifications\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogyy%2Ffool-translations-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyogyy%2Ffool-translations-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogyy%2Ffool-translations-api/lists"}