{"id":24569076,"url":"https://github.com/ryomendev/chatapp-strapi","last_synced_at":"2026-04-13T00:33:19.223Z","repository":{"id":272388617,"uuid":"916421127","full_name":"RyomenDev/chatApp-strapi","owner":"RyomenDev","description":"A React and Strapi-based chat application allowing users to sign in via Google, send and receive messages in real-time, and store user data in a Strapi backend. It offers an interactive environment for users to connect and chat seamlessly.","archived":false,"fork":false,"pushed_at":"2025-01-14T07:48:16.000Z","size":9735,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T05:06:07.568Z","etag":null,"topics":["firebase","reactjs","strapi","tailwindcss"],"latest_commit_sha":null,"homepage":"https://strapi.io/","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/RyomenDev.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":"2025-01-14T03:58:12.000Z","updated_at":"2025-02-19T06:22:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"08381cb3-d87d-46ca-a7f2-f12fe72c9951","html_url":"https://github.com/RyomenDev/chatApp-strapi","commit_stats":null,"previous_names":["ryomendev/chatapp-strapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RyomenDev/chatApp-strapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyomenDev%2FchatApp-strapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyomenDev%2FchatApp-strapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyomenDev%2FchatApp-strapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyomenDev%2FchatApp-strapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyomenDev","download_url":"https://codeload.github.com/RyomenDev/chatApp-strapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyomenDev%2FchatApp-strapi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267368889,"owners_count":24076089,"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-27T02:00:11.917Z","response_time":82,"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":["firebase","reactjs","strapi","tailwindcss"],"created_at":"2025-01-23T14:56:12.283Z","updated_at":"2026-04-13T00:33:19.162Z","avatar_url":"https://github.com/RyomenDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Chat App with React and Strapi\n\n![Chat App](https://api-prod.strapi.io/uploads/008_project_demo_7181661045.gif)\n\n\nThis is a simple chat application built using **React** for the front-end and **Strapi** as the back-end. The app allows users to sign in with Google, send and receive messages, and view user avatars.\n\n## Features\n\n- **Authentication**: Google login using Firebase Authentication.\n- **Real-time messaging**: Send and receive messages in real-time.\n\u003c!-- - **User Profiles**: View user profile pictures and display names. --\u003e\n- **Strapi as Backend**: Strapi is used as the backend to handle data storage (messages, users, etc.).\n- **Responsive Design**: The app is responsive and works well on both desktop and mobile devices.\n\n## Technologies Used\n\n- **Frontend**: \n  - React\n  - React Router\n  - TailwindCSS (for styling)\n  - Firebase Authentication (Google login)\n  - Axios (for API requests)\n\n- **Backend**:\n  - Strapi (Headless CMS)\n  - Node.js\n\n- **Database**: \n  - SQLite (for development)\n  - MongoDB (for production)\n\n- **Hosting**:\n  - Strapi on Vercel or any cloud platform of choice\n  - React app on Vercel or Netlify\n\n## Prerequisites\n\nMake sure you have the following tools installed:\n\n- **Node.js** (v12.x or above)\n- **npm** (v6.x or above) or **yarn**\n- **Strapi** (To run the backend locally)\n- **Firebase** (For authentication)\n\n## Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/RyomenDev/chatApp-strapi.git\ncd chatApp-strapi\n```\n\n### 2. Set up the Backend (Strapi)\n\n1. **Install Strapi dependencies**:\n   Navigate to the Strapi directory and install the dependencies.\n\n   ```bash\n   cd backend\n   npm install\n   ```\n\n2. **Configure the database**:\n   Set up the database connection by editing the `.env` file inside the backend directory to match your database credentials.\n\n3. **Run Strapi**:\n   Start the Strapi server.\n\n   ```bash\n   npm run dev\n   ```\n\n   Strapi should now be running at `http://localhost:1337`. You can log in to the admin panel and configure your collections (such as `Messages`, `Users`, etc.).\n\n### 3. Set up Firebase Authentication\n\n1. Go to [Firebase Console](https://console.firebase.google.com/) and create a new Firebase project.\n2. Enable Google Authentication in Firebase Console under the Authentication section.\n3. Obtain the Firebase config and add it to your `firebase.js` file.\n\n```js\nimport { initializeApp } from \"firebase/app\";\nimport { getAuth, GoogleAuthProvider } from \"firebase/auth\";\n\nconst firebaseConfig = {\n  apiKey: \"YOUR_API_KEY\",\n  authDomain: \"YOUR_AUTH_DOMAIN\",\n  projectId: \"YOUR_PROJECT_ID\",\n  storageBucket: \"YOUR_STORAGE_BUCKET\",\n  messagingSenderId: \"YOUR_SENDER_ID\",\n  appId: \"YOUR_APP_ID\",\n};\n\nconst app = initializeApp(firebaseConfig);\nconst auth = getAuth(app);\nconst googleProvider = new GoogleAuthProvider();\n\nexport { auth, googleProvider };\n```\n\n### 4. Set up the Frontend (React)\n\n1. **Install dependencies**:\n   Navigate to the React frontend directory and install dependencies.\n\n   ```bash\n   cd frontend\n   npm install\n   ```\n\n2. **Configure API URL**:\n   Set the URL for your Strapi backend API in your React app. You can use Axios or Fetch to make API requests.\n\n3. **Start the React App**:\n   Start the React development server.\n\n   ```bash\n   npm start\n   ```\n\n   The app should now be running at `http://localhost:3000`.\n\n## Usage\n\n- **Sign In**: Click on the \"Login with Google\" button to sign in.\n- **Messaging**: Once logged in, users can send and receive messages in the chatroom.\n- **Profile**: User profile pictures and names are fetched from Firebase and displayed in the chat.\n\n## Deployment\n\nTo deploy this app:\n\n### Frontend (React)\n\n- Deploy the frontend on platforms like [Vercel](https://vercel.com/) or [Netlify](https://www.netlify.com/).\n- Make sure to update the `.env` file with the correct Firebase credentials and API URL for the backend.\n\n### Backend (Strapi)\n\n- Deploy Strapi on platforms like [Heroku](https://www.heroku.com/), [DigitalOcean](https://www.digitalocean.com/), or [Vercel](https://vercel.com/).\n- Use MongoDB or any cloud database service for production.\n\n## API Endpoints\n\n- **POST /messages**: Create a new message.\n- **GET /messages**: Get all messages in the chatroom.\n\n## Contributing\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-name`).\n3. Commit your changes (`git commit -am 'Add new feature'`).\n4. Push to the branch (`git push origin feature-name`).\n5. Open a pull request.\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%2Fryomendev%2Fchatapp-strapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryomendev%2Fchatapp-strapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryomendev%2Fchatapp-strapi/lists"}