{"id":16269501,"url":"https://github.com/ibrahimhabibeg/echo","last_synced_at":"2026-04-02T04:45:55.619Z","repository":{"id":198280059,"uuid":"700491878","full_name":"ibrahimhabibeg/Echo","owner":"ibrahimhabibeg","description":"Chat application built with micro-services architecture and front-end caching","archived":false,"fork":false,"pushed_at":"2023-10-05T18:03:05.000Z","size":710,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T11:33:48.840Z","etag":null,"topics":["chat","docker","docker-compose","express","mongodb","mongoose","nodejs","react-native","react-query","socket-io","typescript","websocket"],"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/ibrahimhabibeg.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-10-04T17:39:17.000Z","updated_at":"2024-04-03T04:59:53.000Z","dependencies_parsed_at":"2024-11-05T00:42:16.314Z","dependency_job_id":"b9a14cb1-f8c2-457d-bde6-4f2c96afca9a","html_url":"https://github.com/ibrahimhabibeg/Echo","commit_stats":null,"previous_names":["ibrahimhabibeg/echo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimhabibeg%2FEcho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimhabibeg%2FEcho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimhabibeg%2FEcho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimhabibeg%2FEcho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrahimhabibeg","download_url":"https://codeload.github.com/ibrahimhabibeg/Echo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247867365,"owners_count":21009240,"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":["chat","docker","docker-compose","express","mongodb","mongoose","nodejs","react-native","react-query","socket-io","typescript","websocket"],"created_at":"2024-10-10T18:08:26.403Z","updated_at":"2025-12-30T20:02:33.542Z","avatar_url":"https://github.com/ibrahimhabibeg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align='center'\u003e\n\n\u003cimg src=\"https://i.imgur.com/sIEPRwL.png\" alt=\"logo\" /\u003e\n\n\u003ch1\u003eEcho\u003c/h1\u003e\n\u003cp\u003eChat application built with microservices architecture and frontend caching.\u003c/p\u003e\n\n\u003ch4\u003e \u003cspan\u003e · \u003c/span\u003e \u003ca href=\"https://github.com/ibrahimhabibeg/Echo/blob/main/README.md\"\u003e Documentation \u003c/a\u003e \u003cspan\u003e · \u003c/span\u003e \u003ca href=\"https://github.com/ibrahimhabibeg/Echo/issues\"\u003e Report Bug \u003c/a\u003e \u003cspan\u003e · \u003c/span\u003e \u003ca href=\"https://github.com/ibrahimhabibeg/Echo/issues\"\u003e Request Feature \u003c/a\u003e \u003c/h4\u003e\n\n\n\u003c/div\u003e\n\n# 📙 Table of Contents\n\n- [About the Project](#⭐-about-the-project)\n- [Tech Stack](#🧑‍💻-tech-stack)\n- [Folder Structure](#📁-folder-structure)\n- [Local Installation](#🧰-local-installation)\n- [Contact](#🤝-contact)\n- [Acknowledgements](#💎-acknowledgements)\n\n\n## ⭐ About the Project\n\nEcho is a chat system that is built using modern technologies including docker, react native, node, typescript, express, mongo, and websocket.\n\n## 🧑‍💻 Tech Stack\n\n**Client:** React Native, Expo, React Query, React Native Paper, Socket.io, Typescript\n\n**Server:** Docker, Node, Typescript, Mongo, mongoose, Express, Socket.io, jsonwebtoken\n\n## 📁 Folder Structure\n```\nEcho\n| README.md\n|\n|─── backend\n|   | compose.yaml\n|   | compose.dev.yaml\n|   | message\n|   | mongo\n|   | user\n|\n|─── mobile\n|   |  ...\n```\n\n- backend/compose.yaml contains the data docker needs to run the backend services in production environment\n\n- backend/compose.dev.yaml contains the rules used by docker run the backend in development environment. These rules override backend/compose.yaml rules.\n\n- backend/message contains the source code for the service used for managing messages.\n\n- backend/mongo contains the service responsible for the mongo database.\n\n- backend/user contains the source code for the service used for users authentication, creation, and adminstration.\n\n- mobile contains the source code for the mobile app built with React Native.\n\n## 🧰 Local Installation\n\n### ⚠️ Prerequisites\n\n- Install Docker in your computer\u003ca href=\"https://docs.docker.com/get-docker/\"\u003e Here\u003c/a\u003e\n\n- Install Node JS in your computer for the mobile app\u003ca href=\"https://nodejs.org/en\"\u003e Here\u003c/a\u003e\n\n- This mobile app uses Yarn as package manager\n```bash\nnpm i -g yarn\n```\n- We will use docker to run the backend without installing the packages.\n\n- Installing packages in the backend will only be used for IDE autocompletion.\n\n### 🏃‍♂️ Run Locally\n\nClone the project\n\n```bash\ngit clone https://github.com/ibrahimhabibeg/Echo\n```\nGo to the project directory\n```bash\ncd Echo\n```\nCreate environment variables files for mobile\n```bash\ntouch mobile/.env mongo/.env user/.env message/.env\n```\nAdd backend services url to mobile/.env file\n```\nEXPO_PUBLIC_USER_SERVICE_URL=http://MY_LOCAL_IP:3000\nEXPO_PUBLIC_MESSAGE_SERVICE_URL=http://MY_LOCAL_IP:3001\nEXPO_PUBLIC_MESSAGE_WEBSOCKET_URL=ws://MY_LOCAL_IP:3002\n```\nAdd mongo initial data to mongo/.env file\n```\nDB_USER=USER_USERNAME\nDB_PASS=USER_PASSWORD\nSALT_ROUNDS=10\nJWT_SECRET=MY_JWT_SECRET\nMONGO_INITDB_ROOT_USERNAME=ROOT_USERNAME\nMONGO_INITDB_ROOT_PASSWORD=ROOT_PASSWORD\nMONGO_INITDB_DATABASE=chat\n```\nAdd db user data to both user/.env and message/.env files\n```\nDB_USER=USER_USERNAME\nDB_PASS=USER_PASSWORD\n```\n\nAdd JWT and Bcrypt data to user/.env file\n```\n...\nSALT_ROUNDS=10\nJWT_SECRET=MY_JWT_SECRET\n```\nStart the backend in production mode\n```bash\ncd backend\ndocker compose up --build\n```\n\nStart the backend in development mode\n```bash\ncd backend\ndocker compose -f compose.yaml -f compose.dev.yaml up --build\n```\nStart the mobile app\n```bash\ncd mobile\nyarn start\n```\n\n## 🤝 Contact\n\nIbrahim Habib - - ibrahimhabib.eg@gmail.com  - - [LinkedIn](https://www.linkedin.com/in/ibrahim-habib-a2948b286/)\n\nProject Link: [Github](https://github.com/ibrahimhabibeg/Echo)\n\n## 💎 Acknowledgements\n\n- https://hotpot.ai/  for Images and Splash Screen Creation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimhabibeg%2Fecho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrahimhabibeg%2Fecho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimhabibeg%2Fecho/lists"}