{"id":20359601,"url":"https://github.com/irtiza751/raw-sql-api","last_synced_at":"2026-04-04T20:33:19.308Z","repository":{"id":185085255,"uuid":"672241454","full_name":"Irtiza751/raw-sql-api","owner":"Irtiza751","description":"RAW SQL API is a todo API for learning Raw SQL with features like authentication, CRUD, \u0026 image upload.","archived":false,"fork":false,"pushed_at":"2023-12-25T10:39:06.000Z","size":317,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T08:07:49.304Z","etag":null,"topics":["crud-application","expressjs","jwt-authentication","nodejs","postgresql","raw-sql"],"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/Irtiza751.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}},"created_at":"2023-07-29T11:58:05.000Z","updated_at":"2023-12-25T10:20:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"e153b842-bf79-4def-9c2b-c6280b667413","html_url":"https://github.com/Irtiza751/raw-sql-api","commit_stats":null,"previous_names":["irtiza751/raw-sql-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Irtiza751/raw-sql-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Irtiza751%2Fraw-sql-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Irtiza751%2Fraw-sql-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Irtiza751%2Fraw-sql-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Irtiza751%2Fraw-sql-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Irtiza751","download_url":"https://codeload.github.com/Irtiza751/raw-sql-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Irtiza751%2Fraw-sql-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":["crud-application","expressjs","jwt-authentication","nodejs","postgresql","raw-sql"],"created_at":"2024-11-14T23:35:16.191Z","updated_at":"2026-04-04T20:33:18.996Z","avatar_url":"https://github.com/Irtiza751.png","language":"TypeScript","readme":"# THE RAW SQL SOCIAL MEDIA API\n## installation\n1. clone this repository `git clone https://github.com/Irtiza751/raw-sql-api.git`\n2. cd into the raw-sql-api project then run `npm install`\n3. After installing all the dependencies run `npm run start:dev` \u0026 You should be fully setup now.\n\n## Project Structure\nThe src directory contains all the source code, \u0026 in the src folder the code is organize with the following folders (name \u0026 conventions).\n1. Modules folder -- (name_module) eg. auth_moudle etc.\n2. Controllers folder -- (name.controller.ts) eg. auth.controller.ts\n3. Lib folder -- (name.ts)\n\n### TODO\n- [x] Create a User repository\n- [x] Create a Todo repository\n- [x] Create a Tokens repository\n- [x] Prevent sending refresh token to the browser\n- [x] Create the CRUD controller for todos\n- [x] To update the todo alway send `title \u0026 description` both\n- [x] Implement the auto login on token expiry\n- [ ] Add cascasde delete whene user delete a self account\n- [ ] Add the user profile image option as well\n\nRefresh token rotation flow\n![auth-expire-flow](https://github.com/Irtiza751/raw-sql-api/assets/91867702/85de7d75-aa76-4adb-abd3-ef58c3a8bc22)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firtiza751%2Fraw-sql-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firtiza751%2Fraw-sql-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firtiza751%2Fraw-sql-api/lists"}