{"id":24764659,"url":"https://github.com/aleksanderpalamar/water-reminder","last_synced_at":"2026-04-13T19:32:43.696Z","repository":{"id":258322113,"uuid":"862380221","full_name":"aleksanderpalamar/water-reminder","owner":"aleksanderpalamar","description":"Water Reminder is a web application designed to help users track and maintain their daily water intake. It provides a user-friendly interface for setting reminders, logging water consumption, and visualizing progress towards daily hydration goals.","archived":false,"fork":false,"pushed_at":"2024-10-25T20:58:20.000Z","size":2019,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T18:36:49.970Z","etag":null,"topics":["clerk","nextjs14","postgresql","prisma-orm","sqlite","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleksanderpalamar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-09-24T13:58:28.000Z","updated_at":"2025-08-27T17:37:55.000Z","dependencies_parsed_at":"2025-05-30T08:50:16.737Z","dependency_job_id":"65690ff9-f6ab-4ad2-a696-4c83f91ee0a2","html_url":"https://github.com/aleksanderpalamar/water-reminder","commit_stats":null,"previous_names":["aleksanderpalamar/water-reminder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aleksanderpalamar/water-reminder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderpalamar%2Fwater-reminder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderpalamar%2Fwater-reminder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderpalamar%2Fwater-reminder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderpalamar%2Fwater-reminder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleksanderpalamar","download_url":"https://codeload.github.com/aleksanderpalamar/water-reminder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderpalamar%2Fwater-reminder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clerk","nextjs14","postgresql","prisma-orm","sqlite","tailwindcss","typescript"],"created_at":"2025-01-28T22:33:38.885Z","updated_at":"2026-04-13T19:32:43.677Z","avatar_url":"https://github.com/aleksanderpalamar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Water Reminder\n\n![Project Screenshot](/.github/images/screen.png)\n\n## About the Project\n\nWater Reminder is a web application designed to help users track and maintain their daily water intake. It provides a user-friendly interface for setting reminders, logging water consumption, and visualizing progress towards daily hydration goals.\n\n### Key Features\n\n- Set personalized water intake reminders\n- Track daily water consumption\n- Visualize progress towards daily hydration goals\n- View water intake history\n- Receive hourly notifications for drinking water\n\n## Technologies Used\n\nThis project is built using modern web technologies and best practices:\n\n- **Next.js 14**: For server-side rendering and routing\n- **TypeScript**: For type-safe JavaScript\n- **Tailwind CSS**: For responsive and customizable styling\n- **Clerk**: For authentication and user management\n- **Prisma**: As the ORM for database operations\n- **SQLite**: As the database for storing user data and water intake records (`development mode`)\n- **PostgreSQL**: As the database for storing user data and water intake records (`production ready`)\n\n## Development Complexity and Challenges\n\nDeveloping the Water Reminder application presented several interesting challenges:\n\n1. **State Management**: Implementing real-time updates for water intake tracking while maintaining consistency across different components required careful state management.\n\n2. **Data Persistence**: Designing an efficient database schema to store user data, reminders, and water intake records while ensuring quick retrieval for displaying history and progress.\n\n3. **User Authentication**: Integrating Clerk for secure user authentication and managing user-specific data access.\n\n4. **Notifications**: Implementing a system for sending timely reminders to users about their water intake goals.\n\n5. **Data Visualization**: Creating intuitive visual representations of water intake progress and history using custom React components and Tailwind CSS.\n\n6. **API Design**: Developing efficient API routes to handle various operations like adding reminders, updating water intake, and fetching history.\n\n7. **Error Handling**: Implementing robust error handling throughout the application to ensure a smooth user experience even when issues arise.\n\n8. **Performance Optimization**: Optimizing database queries and component rendering to maintain fast load times and responsive user interactions.\n\n9. **Responsive Design**: Ensuring the application is fully responsive and provides a consistent experience across different devices and screen sizes.\n\n## Getting Started\n\nTo run this project locally:\n\n1. Clone the repository\n2. Install dependencies with `npm install`\n3. Set up your environment variables for Clerk authentication\n4. Initialize the Prisma database with `npx prisma db push`\n5. Run the development server with `npm run dev`\n6. .env file is located in the root directory\n```.env\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\nCLERK_SECRET_KEY=\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up\n```\n\n## Contributing\n\nContributions to improve Water Reminder are welcome. Please feel free to submit a Pull Request.\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleksanderpalamar%2Fwater-reminder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleksanderpalamar%2Fwater-reminder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleksanderpalamar%2Fwater-reminder/lists"}