{"id":18850514,"url":"https://github.com/manthanank/chat-application","last_synced_at":"2026-04-05T08:35:05.962Z","repository":{"id":253750069,"uuid":"843770257","full_name":"manthanank/chat-application","owner":"manthanank","description":"Chat Application","archived":false,"fork":false,"pushed_at":"2024-08-25T09:45:18.000Z","size":653,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T05:39:05.141Z","etag":null,"topics":["angular","chat-application","express","expressjs","full-stack","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"https://chat-application-manthanank.vercel.app","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/manthanank.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},"funding":{"github":["manthanank"],"open_collective":"manthanank","buy_me_a_coffee":"manthanank","patreon":"manthanank"}},"created_at":"2024-08-17T11:16:03.000Z","updated_at":"2025-07-14T04:25:52.000Z","dependencies_parsed_at":"2024-08-19T09:12:52.290Z","dependency_job_id":"4882c265-c522-4aa6-94dc-d6e7a8ed743e","html_url":"https://github.com/manthanank/chat-application","commit_stats":null,"previous_names":["manthanank/chat-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manthanank/chat-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fchat-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fchat-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fchat-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fchat-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manthanank","download_url":"https://codeload.github.com/manthanank/chat-application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fchat-application/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267827337,"owners_count":24150345,"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-07-30T02:00:09.044Z","response_time":70,"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":["angular","chat-application","express","expressjs","full-stack","mongodb","nodejs"],"created_at":"2024-11-08T03:29:44.810Z","updated_at":"2025-12-30T21:55:51.214Z","avatar_url":"https://github.com/manthanank.png","language":"TypeScript","funding_links":["https://github.com/sponsors/manthanank","https://opencollective.com/manthanank","https://buymeacoffee.com/manthanank","https://patreon.com/manthanank"],"categories":[],"sub_categories":[],"readme":"# Chat Application\n\nThis is a full-stack chat application built with Node.js for the backend and Angular for the frontend. It allows users to sign up, log in, send and receive messages in real-time.\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Running the Application](#running-the-application)\n- [API Endpoints](#api-endpoints)\n- [Usage](#usage)\n- [License](#license)\n\n## Features\n\n- User authentication with JWT\n- Real-time messaging with Socket.io\n- Send and receive messages\n- Responsive design using Tailwind CSS\n\n## Technologies Used\n\n- Backend: Node.js, Express.js, MongoDB, Mongoose, JWT, Socket.io\n- Frontend: Angular, Tailwind CSS\n- Authentication: JSON Web Tokens (JWT)\n\n## Prerequisites\n\n- Node.js (v14.x or later)\n- Angular CLI (v18.x or later)\n- MongoDB (local or remote instance)\n\n## Installation\n\n### Backend\n\n1. Clone the repository:\n\n    ```sh\n    git clone https://github.com/manthanank/chat-application.git\n    cd chat-application/backend\n    ```\n\n2. Install dependencies:\n\n    ```sh\n    npm install\n    ```\n\n3. Create a `.env` file in the `backend` directory with the following content:\n\n    ```bash\n    PORT=5000\n    MONGO_URI=your_mongodb_connection_string\n    JWT_SECRET=your_jwt_secret\n    ```\n\n4. Start the backend server:\n\n    ```sh\n    npm start\n    ```\n\n### Frontend\n\n1. Navigate to the frontend directory:\n\n    ```sh\n    cd chat-application\n    ```\n\n2. Install dependencies:\n\n    ```sh\n    npm install\n    ```\n\n3. Start the frontend server:\n\n    ```sh\n    ng serve\n    ```\n\n## Running the Application\n\n- The backend server will run on `http://localhost:5000`.\n- The frontend server will run on `http://localhost:4200`.\n\n## API Endpoints\n\n### Auth\n\n- **POST /api/auth/signup**: Create a new user\n- **POST /api/auth/login**: Authenticate a user and get a token\n\n### Chat\n\n- **POST /api/chat/send**: Send a message\n- **GET /api/chat/messages**: Get chat messages\n  - Query Parameters:\n    - `senderId`: The ID of the sender\n    - `receiverId`: The ID of the receiver\n\n## Usage\n\n1. **Sign Up**: Create a new account by navigating to the sign-up page.\n2. **Log In**: Log in with your credentials to access the chat application.\n3. **Send Message**: Use the form to send a new message.\n4. **View Messages**: View a list of all your messages in real-time.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Fchat-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanthanank%2Fchat-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Fchat-application/lists"}