{"id":22750039,"url":"https://github.com/milan-sony/api_chatapp","last_synced_at":"2026-05-05T11:31:47.313Z","repository":{"id":266940753,"uuid":"899486454","full_name":"milan-sony/api_chatapp","owner":"milan-sony","description":"API of a chat app build on MERN stack","archived":false,"fork":false,"pushed_at":"2025-01-08T08:41:09.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T21:41:33.431Z","etag":null,"topics":["api","api-rest","mern","mern-stack","nodejs","socket-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/milan-sony.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":"2024-12-06T11:14:20.000Z","updated_at":"2025-01-08T08:41:13.000Z","dependencies_parsed_at":"2025-01-04T07:31:52.068Z","dependency_job_id":"80f05b0e-76ab-4c82-9fdc-4006b034d733","html_url":"https://github.com/milan-sony/api_chatapp","commit_stats":null,"previous_names":["milan-sony/api_reactchatapp","milan-sony/api_chatapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/milan-sony/api_chatapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fapi_chatapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fapi_chatapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fapi_chatapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fapi_chatapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milan-sony","download_url":"https://codeload.github.com/milan-sony/api_chatapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fapi_chatapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271073387,"owners_count":24694538,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-rest","mern","mern-stack","nodejs","socket-io"],"created_at":"2024-12-11T04:11:49.118Z","updated_at":"2026-05-05T11:31:47.272Z","avatar_url":"https://github.com/milan-sony.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API - ChatApp\n\nAPI of a chat app build on **MERN**\n\n[ChatApp link](https://github.com/milan-sony/ChatApp)\n\n## 🗝 Key features of ChatApp\n\n✨ TailwindCSS + Daisy UI\n\n🔐 Authentication \u0026 Authorization with JWT\n\n💬 Real-time messaging with Socket.io\n\n🚀 Online user status\n\n🔗 Global state management with Zustand\n\n🐞 Error handling both on server and client side\n\n## Run locally\n\n### Clone this project\n\n```\ngit clone https://github.com/milan-sony/api_chatapp.git\n```\n\n### Prerequisite\n\n`node version: \u003e=18.0.0 \u003c22.11.0`\n\n`npm version: \u003e=8.0.0 \u003c10.9.0`\n\n`mongodb connection`\n\n`cloudinary account`\n\n### Install the packages/dependencies needed for this project\n\n```\nnpm install\n```\n\n### Setup .env file\n\nUnder the root directory make a file named `.env`\n\n```\nPORT = 3000\n\nMONGODB_URL = \n\nJWT_SECRET = \n\nNODE_ENV = development\n\nCLOUDINARY_CLOUD_NAME = \nCLOUDINARY_API_KEY = \nCLOUDINARY_API_SECRET = \n```\n\n### Run the project\n\n```\nnpm run dev\n```\n\n## API Reference/Endpoints\n\n#### user signup\n\n```http\n  POST /api/v1/user/signup\n```\n\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `fullName` | `string` | **Required** |\n| `email` | `string` | **Required** |\n| `password` | `string` | **Required** |\n\n#### user login\n\n```http\n  POST /api/v1/user/login\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `email`      | `string` | **Required**|\n| `password`      | `string` | **Required**|\n\n\n#### get all users\n\n```http\n  GET /api/v1/user/users\n```\n\n\n#### user logout\n\n```http\n  POST /api/v1/user/logout\n```\n\n#### update user profile picture\n\n```http\n  PUT /api/v1/user/update_profile\n```\n\n#### check whether the user is authenticated\n\n```http\n  GET /api/v1/user/check\n```\n\n#### get all the message with a particular user\n\n```http\n  GET /api/v1/message/id\n```\n\n#### send message with particular user\n\n```http\n  POST /api/v1/message/send/id\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-sony%2Fapi_chatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilan-sony%2Fapi_chatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-sony%2Fapi_chatapp/lists"}