{"id":20286880,"url":"https://github.com/chanmyaemaung/freetalk-api","last_synced_at":"2026-02-25T16:01:49.937Z","repository":{"id":122320224,"uuid":"584661568","full_name":"chanmyaemaung/freetalk-api","owner":"chanmyaemaung","description":"Free Talk Node.js Advance RESTful API built w/ Express.js \u0026 Typescripts","archived":false,"fork":false,"pushed_at":"2023-01-05T01:52:55.000Z","size":204,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"freeTalk","last_synced_at":"2025-08-25T08:13:14.710Z","etag":null,"topics":["advanced","nodejs","rest-api","typescript"],"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/chanmyaemaung.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":"2023-01-03T07:27:44.000Z","updated_at":"2023-09-26T11:30:25.000Z","dependencies_parsed_at":"2023-04-05T18:03:44.083Z","dependency_job_id":null,"html_url":"https://github.com/chanmyaemaung/freetalk-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/chanmyaemaung/freetalk-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Ffreetalk-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Ffreetalk-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Ffreetalk-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Ffreetalk-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanmyaemaung","download_url":"https://codeload.github.com/chanmyaemaung/freetalk-api/tar.gz/refs/heads/freeTalk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Ffreetalk-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29829408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T15:41:19.027Z","status":"ssl_error","status_checked_at":"2026-02-25T15:40:47.150Z","response_time":61,"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":["advanced","nodejs","rest-api","typescript"],"created_at":"2024-11-14T14:37:18.980Z","updated_at":"2026-02-25T16:01:49.915Z","avatar_url":"https://github.com/chanmyaemaung.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Free Talk Node.js Advanced RESTful API\n\n## Introduction\n\nThis is a RESTful API for the Free Talk Node.js Advanced course. It is a simple API that allows you to create, read, update and delete users and tokens and posts and comments with the help of the `jsonwebtoken` package.\n\n## Installation\n\n1. Clone the repository\n2. Run `npm install`\n3. Run `npm run start`\n4. Your API is now running on port 8080\n\n#### Create a post\n\nTo create a user, send a POST request to `/api/post/new` with the following payload:\n\n```json\n{\n\t\"title\": \"Your title\",\n\t\"content\": \"Your content\"\n}\n```\n\n#### Get a post\n\nTo get a post, send a GET request to `/api/post/show/:postId`\n\n#### Update a post\n\nTo update a post, send a PUT request to `/api/post/update/:postId` with the following payload:\n\n```json\n{\n\t\"title\": \"Your new title\",\n\t\"content\": \"Your new content\"\n}\n```\n\n#### Delete a post\n\nTo delete a post, send a DELETE request to `/api/post/delete/:postId`\n\n#### Create a comment\n\nTo create a comment, send a POST request to `/api/comment/new` with the following payload:\n\n```json\n{\n\t\"postId\": \"Your post id\",\n\t\"content\": \"Your content\"\n}\n```\n\n#### Get a comment\n\nTo get a comment, send a GET request to `/api/comment/show/:commentId`\n\n#### Delete a comment\n\nTo delete a comment, send a DELETE request to `/api/comment/delete/:commentId`\n\n#### Version 0.3.2\n\n#### Tags\n\n-   v0.1.0 - Initial release\n-   v0.2.0 - Implemented the user registration and custom error handling\n-   v0.2.1 - Update all the models schema with type validation.\n-   v0.3.2 - Implemented image upload and image deletion with the help of the `multer` package. Also, implemented the `express-validator` package for data validation. Also, tested the API with Jest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmyaemaung%2Ffreetalk-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanmyaemaung%2Ffreetalk-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmyaemaung%2Ffreetalk-api/lists"}