{"id":24865121,"url":"https://github.com/codegram01/pet-social-be","last_synced_at":"2025-03-26T18:43:58.323Z","repository":{"id":250981584,"uuid":"836044252","full_name":"codegram01/pet-social-be","owner":"codegram01","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-08T04:46:07.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T23:57:36.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codegram01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-31T03:50:57.000Z","updated_at":"2024-11-05T14:59:54.000Z","dependencies_parsed_at":"2024-07-31T06:09:44.205Z","dependency_job_id":null,"html_url":"https://github.com/codegram01/pet-social-be","commit_stats":null,"previous_names":["codegram01/pet-social-be"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegram01%2Fpet-social-be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegram01%2Fpet-social-be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegram01%2Fpet-social-be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegram01%2Fpet-social-be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codegram01","download_url":"https://codeload.github.com/codegram01/pet-social-be/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245717624,"owners_count":20661143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-31T23:57:41.725Z","updated_at":"2025-03-26T18:43:58.298Z","avatar_url":"https://github.com/codegram01.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pet Social BE\n\nBackEnd for Pet Social with nodejs\n\n## Feature\n\nSimilar Facebook but focus on Pet. Features: \n- auth\n- profile\n- post \n- chat\n\n## Project Setup\n\n```sh\nnpm install\n```\n\n### Migrate Database\n\n```sh\nnpm run migrate\n```\n\n### Compile and Hot-Reload for Development\n\n```sh\nnpm run dev\n```\n\n### Backend run at port\n- PORT=8000\n- API_BASE_PATH=/api\n- PORT_SOCKET=8001\n\n### Example call Backend API\n```sh\n# Register\ncurl http://localhost:8000/api/auth/register \\\n\t-H \"Content-Type: application/json\" \\\n\t--request POST \\\n\t-d '{\"email\":\"cong@gmail.com\",\"password\":\"123456Aa\",\"confirm_password\":\"123456Aa\"}' \n\n# Login\ncurl http://localhost:8000/api/auth/login \\\n\t-H \"Content-Type: application/json\" \\\n\t--request POST \\\n\t-d '{\"email\":\"cong@gmail.com\",\"password\":\"123456Aa\"}' \n\n# Get info - replace TOKEN with your token\ncurl http://localhost:8000/api/auth/info \\\n\t-H \"Content-Type: application/json\" \\\n\t-H \"Authorization: ${TOKEN}\" \\\n\t--request GET \n\n```\n\n### Run FrontEnd\n\n[pet-social-fe](https://github.com/codegram01/pet-social-fe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegram01%2Fpet-social-be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegram01%2Fpet-social-be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegram01%2Fpet-social-be/lists"}