{"id":20355593,"url":"https://github.com/geekeast/social-network-devs-api","last_synced_at":"2026-05-16T17:08:10.950Z","repository":{"id":124183380,"uuid":"204971486","full_name":"GeekEast/social-network-devs-api","owner":"GeekEast","description":"React(Hooks, Redux), Express, MongoDB, Node.js Hands-on Project","archived":false,"fork":false,"pushed_at":"2020-02-26T11:56:47.000Z","size":56,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T06:48:29.021Z","etag":null,"topics":["husky","prettier","restful-api","typescript"],"latest_commit_sha":null,"homepage":null,"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/GeekEast.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":"2019-08-28T16:03:45.000Z","updated_at":"2020-04-15T02:26:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd177a47-a024-482e-8e01-f564d0007657","html_url":"https://github.com/GeekEast/social-network-devs-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GeekEast/social-network-devs-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekEast%2Fsocial-network-devs-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekEast%2Fsocial-network-devs-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekEast%2Fsocial-network-devs-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekEast%2Fsocial-network-devs-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeekEast","download_url":"https://codeload.github.com/GeekEast/social-network-devs-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekEast%2Fsocial-network-devs-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33111500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["husky","prettier","restful-api","typescript"],"created_at":"2024-11-14T23:13:23.442Z","updated_at":"2026-05-16T17:08:10.934Z","avatar_url":"https://github.com/GeekEast.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Environment\n- **Typescript**: Static Testing\n- **Prettier**: format the code\n- **Husky**: pre-commit hooks\n\n\u003c!-- https://social-media-networks-api.herokuapp.com/ --\u003e\n## Architecture\n- Services: **Connector**, in essence\n- Model: **`External` Controller**, in essence\n- Database: **`External` Resources**, in essence\n![mvc](https://geekeaskblogpics.s3-ap-southeast-2.amazonaws.com/posts/WX20190829-144102.png)\n\n### Controllers\n- Request Body Validator\n- Request Handler\n\n### Middleware\n- Root Router\n- User Authenticator\n- `express.json()`\n\n### Models\n- **Post**: Post Schema and model\n- **Profile**: Profile Schema and model\n- **User**: User Schema and model\n\n### Routes\n- **Auth**: **Login** and **R** of `authenticated user`\n- **Post**: **CRUD** post, **UD** of comments and likes\n- **Profile**: **CRUD** profile, **UD** of experiences and educations, **R** of Github Repo\n- **User**: **C** of User\n\n### Services\n- **Github**: connect to Oauth Apps of github\n- **MongoDB**: connect to MongoDB\n\n\n## Questions\n- Is lodash `set()` method happen in-place or not in-place?\n  - in-place\n- What's the difference between `post` and `put` method?\n  - `post`: update a whole thing\n  - `put`: update parts of a whole thing\n\n## Reference\n- [Node MVC架构](https://div.io/topic/1061) \n- [Declaration](https://ts.xcatliu.com/basics/declaration-files) \n- [MDN Diagram of MVC on Node.js](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/routes)\n- [Extend Express Request object using Typescript](https://stackoverflow.com/questions/37377731/extend-express-request-object-using-typescript) \n- [Declaration Merge](https://typescript.bootcss.com/declaration-merging.html) |\n- [Non-null Assertion Operator](https://stackoverflow.com/questions/40349987/how-to-suppress-error-ts2533-object-is-possibly-null-or-undefined)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekeast%2Fsocial-network-devs-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekeast%2Fsocial-network-devs-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekeast%2Fsocial-network-devs-api/lists"}