{"id":19223240,"url":"https://github.com/radhirasho/simple-todo-server","last_synced_at":"2026-05-03T12:33:53.953Z","repository":{"id":226239577,"uuid":"768141618","full_name":"RadhiRasho/simple-todo-server","owner":"RadhiRasho","description":"Experimenting with SQLite and HonoJS","archived":false,"fork":false,"pushed_at":"2025-08-08T02:21:42.000Z","size":1448,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T21:43:31.645Z","etag":null,"topics":["experiment","honojs","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/RadhiRasho.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}},"created_at":"2024-03-06T14:46:14.000Z","updated_at":"2025-08-08T02:21:45.000Z","dependencies_parsed_at":"2025-08-11T21:36:37.136Z","dependency_job_id":"96884d26-b21d-4765-baef-22f0698da018","html_url":"https://github.com/RadhiRasho/simple-todo-server","commit_stats":null,"previous_names":["radhirasho/simple-todo-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RadhiRasho/simple-todo-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadhiRasho%2Fsimple-todo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadhiRasho%2Fsimple-todo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadhiRasho%2Fsimple-todo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadhiRasho%2Fsimple-todo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RadhiRasho","download_url":"https://codeload.github.com/RadhiRasho/simple-todo-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadhiRasho%2Fsimple-todo-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["experiment","honojs","sqlite"],"created_at":"2024-11-09T15:07:32.882Z","updated_at":"2026-05-03T12:33:53.934Z","avatar_url":"https://github.com/RadhiRasho.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Todo Server\n\nThis is a simple todo server that uses a REST API to manage todos.\n\nIt is written in:\n1. Typescript\n2. Hono as the server framework\n3. SQLite as the database\n\n## Running the server\n\nTo run the server, you need to have Node.js installed. Then you can run the following commands:\n\n```bash\nbun dev\n```\n\nThis will start the server on port 3000.\n\n## API\n\nThe server has the following API:\n\n### GET /\n\nThis will return a list of all the todos.\n\n### POST /create\n\nThis will create a new todo. The body of the request should be a JSON object with the following properties:\n\n1. `taskName`: The name of the todo\n2. `description`: `: A description of the todo\n\n### POST /update\n\nThis will update a todo. The body of the request should be a JSON object with the following properties:\n\n1. `id`: The id of the todo\n2. `taskName`: The name of the todo\n3. `description`: `: A description of the todo\n\n### DELETE /delete/:id\n\nThis will delete a todo. The body of the request should be a JSON object with the following properties:\n\n1. `id`: The id of the todo\n\nThe Delete method uses Hono's Route Validation using regex so that it will only ever accept integers as the id.\nOtherwise the method will return a 404 Not Found error.\n\n## Database\n\nThe server uses SQLite as the database. The database is created when you first run the application and is stored in the `db` folder\nThe intial database is created with a single table called `todos` with the following schema:\n\n```sql\nCREATE TABLE todos (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  taskName VARCHAR(255),\n  description TEXT\n);\n```\n\nYou can see the database schema in the `db` folder within the `Todos.sql` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradhirasho%2Fsimple-todo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradhirasho%2Fsimple-todo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradhirasho%2Fsimple-todo-server/lists"}