{"id":20632938,"url":"https://github.com/yenilikci/ts-rest-api","last_synced_at":"2026-04-07T22:32:01.850Z","repository":{"id":117874077,"uuid":"480557800","full_name":"yenilikci/ts-rest-api","owner":"yenilikci","description":"Node.js REST API with Express.js, Mongoose \u0026 TypeScript","archived":false,"fork":false,"pushed_at":"2022-04-17T21:45:36.000Z","size":114,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T04:41:40.595Z","etag":null,"topics":["bcrypt","best-practices","dayjs","expressjs","jwt","lodash","mongoose","nanoid","pino","typescript","zod"],"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/yenilikci.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":"2022-04-11T21:29:21.000Z","updated_at":"2023-12-05T06:58:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"65fb5b80-fee5-4953-8413-89d8593eda8b","html_url":"https://github.com/yenilikci/ts-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yenilikci/ts-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yenilikci%2Fts-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yenilikci%2Fts-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yenilikci%2Fts-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yenilikci%2Fts-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yenilikci","download_url":"https://codeload.github.com/yenilikci/ts-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yenilikci%2Fts-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31532239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bcrypt","best-practices","dayjs","expressjs","jwt","lodash","mongoose","nanoid","pino","typescript","zod"],"created_at":"2024-11-16T14:17:55.903Z","updated_at":"2026-04-07T22:32:01.835Z","avatar_url":"https://github.com/yenilikci.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-rest-api\n\n## dependencies\n\n✨ bcrypt\n\n✨ config\n\n✨ cors\n\n✨ dayjs\n\n✨ express\n\n✨ jsonwebtoken\n\n✨ lodash\n\n✨ mongoose\n\n✨ nanoid\n\n✨ pino\n\n✨ pino-pretty\n\n✨ zod\n\n## endpoints\n\n| Endpoint  | Http Request Method  | Body  | Params  | Args | Description  |\n| ------------ | ------------ | ------------ | ------------ | ------------ | ------------ |\n| /api/users  |  POST | {\"email\": \"example@mail.com\", \"password\": \"M12345.\", \"passwordConfirmation\": \"M12345.\", \"name\": \"melihcelik\"}  | Empty  | Empty | It allows us to register the user. |\n| /api/sessions  |  POST | {\"email\": \"example@mail.com\", \"password\": \"M12345.\"}  | Empty  | Empty | Allows us to log in. Returns tokens. |\n| /api/sessions  |  GET | Empty  | Empty  | Empty | Get session list. |\n| /api/sessions  |  DELETE | Empty  | Empty  | Empty | Terminates sessions by updating the session list. |\n| /api/products  |  POST | { \"title\": \"Product 1\", \"description\": \"Amazing product\", \"price\": 99.99, \"image\": \"comlaf.com/images/1\" }  | Empty  | Empty | Creates a new product. |\n| /api/products  |  PUT | { \"title\": \"Product 1\", \"description\": \"Updated amazing product \", \"price\": 98.99, \"image\": \"comlaf.com/images/1\" }  | productId:ObjectId  | Empty | Update product by id. |\n| /api/products  |  GET | Empty  | productId:ObjectId  | Empty | Get product by id. |\n| /api/products  |  DELETE | Empty  | productId:ObjectId  | Empty | Delete product by id. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyenilikci%2Fts-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyenilikci%2Fts-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyenilikci%2Fts-rest-api/lists"}