{"id":24790538,"url":"https://github.com/spacedubby07/nextjs_mongodb_crud","last_synced_at":"2026-04-16T05:34:12.647Z","repository":{"id":273597497,"uuid":"695361883","full_name":"SpaceDubby07/NextJs_MongoDB_CRUD","owner":"SpaceDubby07","description":"NextJs Realtime Chat app","archived":false,"fork":false,"pushed_at":"2025-01-21T20:25:00.000Z","size":2568,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T13:14:54.329Z","etag":null,"topics":["mongodb","nextjs","realtime-chat","socket-io"],"latest_commit_sha":null,"homepage":"https://crud-alpha-steel.vercel.app","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/SpaceDubby07.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-09-23T00:37:34.000Z","updated_at":"2025-01-21T20:25:03.000Z","dependencies_parsed_at":"2025-01-21T21:39:10.409Z","dependency_job_id":null,"html_url":"https://github.com/SpaceDubby07/NextJs_MongoDB_CRUD","commit_stats":null,"previous_names":["spacedubby07/nextjs_mongodb_crud"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpaceDubby07/NextJs_MongoDB_CRUD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceDubby07%2FNextJs_MongoDB_CRUD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceDubby07%2FNextJs_MongoDB_CRUD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceDubby07%2FNextJs_MongoDB_CRUD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceDubby07%2FNextJs_MongoDB_CRUD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpaceDubby07","download_url":"https://codeload.github.com/SpaceDubby07/NextJs_MongoDB_CRUD/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceDubby07%2FNextJs_MongoDB_CRUD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["mongodb","nextjs","realtime-chat","socket-io"],"created_at":"2025-01-29T18:16:31.290Z","updated_at":"2026-04-16T05:34:12.625Z","avatar_url":"https://github.com/SpaceDubby07.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Real-Time Chat App\n\nThis project is a real-time chat application built with Next.js, offering features like custom chat rooms, user-selected usernames, and light/dark theme support. While login functionality is planned, it has not yet been implemented.\n\n## Features\n\n### 1. Real-Time Chat\n- Users can create and join chat rooms.\n- Messages are sent and received in real time using Socket.IO.\n\n### 2. User Customization\n- Users can select their own usernames.\n- Chat rooms can be named by users.\n\n### 3. Theming\n- Light and dark mode support for improved user experience.\n\n### 4. Planned Features\n- Login functionality for persistent user accounts.\n\n---\n\n## Technologies Used\n\n### Frontend\n- **Next.js**: React framework for building the app.\n- **React**: Core library for UI components.\n- **React DOM**: Handles DOM rendering for React.\n- **React Icons**: Provides a set of reusable icons.\n- **React Pro Sidebar**: Sidebar navigation for chat rooms and settings.\n- **Next Themes**: Handles light/dark mode toggling.\n- **Heroicons**: A collection of SVG icons.\n\n### Backend\n- **Socket.IO**: Enables real-time communication between clients and server.\n- **MongoDB**: Database for storing chat data and room information.\n- **@auth/mongodb-adapter**: Authentication adapter for MongoDB (login functionality planned).\n- **CORS**: Middleware for handling cross-origin resource sharing.\n\n### Styling\n- **TailwindCSS**: CSS framework for styling.\n- **Tailwind Scrollbar**: Custom scrollbar styling.\n- **PostCSS**: CSS post-processing tool for added flexibility.\n\n---\n\n## Installation\n\n### Prerequisites\n- Node.js \u003e= 16.8.0\n- npm or yarn\n- MongoDB instance for backend data storage\n\n### Steps\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd nextjs-course\n   ```\n3. Install dependencies:\n   ```bash\n   npm install\n   ```\n4. Start the development server:\n   ```bash\n   npm run dev\n   ```\n5. Open your browser and navigate to `http://localhost:3000`.\n\n---\n\n## Scripts\n\n- `npm run dev`: Starts the development server.\n- `npm run build`: Builds the application for production.\n- `npm run start`: Starts the production server.\n\n---\n\n## Future Improvements\n\n- Implement user authentication with NextAuth.\n- Add persistent user profiles and room history.\n- Enhance chat room UI with additional features like user lists and notifications.\n- Optimize the app for better scalability and performance.\n\n---\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n\n---\n\n## Acknowledgments\n\n- Open-source libraries and tools used in this project.\n- MongoDB for database support.\n- Socket.IO for enabling real-time communication.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacedubby07%2Fnextjs_mongodb_crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacedubby07%2Fnextjs_mongodb_crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacedubby07%2Fnextjs_mongodb_crud/lists"}