{"id":29162720,"url":"https://github.com/codehunt101/beanly-coffee","last_synced_at":"2026-04-12T05:31:33.773Z","repository":{"id":297752667,"uuid":"852532671","full_name":"CodeHunt101/beanly-coffee","owner":"CodeHunt101","description":"Accessible, performant and SEO optimised wesite built with React and Next.js and styled with vanilla CSS using SASS pre-processor.","archived":false,"fork":false,"pushed_at":"2025-06-07T07:57:59.000Z","size":10042,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T05:07:08.331Z","etag":null,"topics":["accessibility","css","html","nextjs","react","scss","typescript"],"latest_commit_sha":null,"homepage":"https://beanly-coffee.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/CodeHunt101.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,"zenodo":null}},"created_at":"2024-09-05T01:09:51.000Z","updated_at":"2025-06-07T07:57:58.000Z","dependencies_parsed_at":"2025-06-07T08:39:45.163Z","dependency_job_id":null,"html_url":"https://github.com/CodeHunt101/beanly-coffee","commit_stats":null,"previous_names":["codehunt101/beanly-coffee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeHunt101/beanly-coffee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHunt101%2Fbeanly-coffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHunt101%2Fbeanly-coffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHunt101%2Fbeanly-coffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHunt101%2Fbeanly-coffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeHunt101","download_url":"https://codeload.github.com/CodeHunt101/beanly-coffee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeHunt101%2Fbeanly-coffee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31705574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T05:11:36.334Z","status":"ssl_error","status_checked_at":"2026-04-12T05:11:27.332Z","response_time":58,"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":["accessibility","css","html","nextjs","react","scss","typescript"],"created_at":"2025-07-01T05:07:07.486Z","updated_at":"2026-04-12T05:31:33.738Z","avatar_url":"https://github.com/CodeHunt101.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Beanly Coffee - Next.js Application\n\n**Beanly Coffee** is a modern web application built with React and Next.js, offering a seamless user experience for coffee lovers to explore and create customised coffee plans. The app allows users to select their coffee preferences and set up personalised subscriptions.\n\n## Demo\n\nYou can access the live demo of the application here:\n[Live Demo](https://beanly-coffee.vercel.app/)\n\n## Features\n\n- **Dynamic Coffee Plan Creation**: Users can pick their preferred coffee type, frequency, and grind options.\n- **Responsive Design**: Optimised for both mobile and desktop experiences.\n- **High-Quality UI**: Clean and intuitive design with interactive components such as accordions and modals.\n- **Next.js Server-Side Rendering (SSR)**: Fast and SEO-friendly web pages.\n- **Testing with Jest**: Includes thorough unit testing with Jest and React Testing Library.\n- **Accessibility**: Focused on web accessibility standards with semantic HTML and ARIA attributes.\n\n## Getting Started\n\n### Installation\n\nClone the repository and install dependencies:\n\n```bash\ngit clone https://github.com/codehunt101/beanly-coffee.git\ncd beanly-coffee\nnpm install\n```\n\n### Running the Application\n\nTo run the development server, use the following command:\n\n```bash\nnpm run dev\n```\n\nThis will start the app locally at \\`http://localhost:3000\\`.\n\n### Building the Application\n\nTo create an optimised production build, run:\n\n```bash\nnpm run build\n```\n\nThis will generate static and server-rendered pages under the \\`.next\\` folder, which can then be deployed to any hosting platform.\n\n### Running Tests\n\nThe application uses Jest for testing. To run tests:\n\n```bash\nnpm test\n```\n\nSnapshot testing is also included to ensure the UI remains consistent.\n\n---\n\n## Project Structure\n\nThe project follows a structured directory layout:\n\n```plaintext\nbeanly-coffee/\n|\n│\n├── /app/                       # Contains app-level pages and contexts\n│   ├── /_context/              # Context for managing global state (e.g., PlanContext)\n│   ├── /_utils/                # Utility functions and shared types\n│   └── ...                     # Other application-specific files such as layouts, pages and sections and other tests\n│\n├── /__tests__/                 # Unit and component tests\n│   ├── /components/            # Test files for each component\n│   └── /snapshot/              # Snapshot tests\n│\n│── /public/                    # Static assets such as images\n├── /hooks/                     # Reusable Hooks\n├── /components/                # Reusable React components (e.g., Hero, NavBar, Accordion)\n├── /styles/                    # Global styles\n├── .eslintrc.js                # ESLint configuration\n├── .prettierrc.js              # Prettier configuration\n├── next.config.js              # Next.js configuration\n└── tsconfig.json               # TypeScript configuration\n```\n\n## Technologies Used\n\n![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)\n![Next.js](https://img.shields.io/badge/Next-black?style=for-the-badge\u0026logo=next.js\u0026logoColor=white)\n![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge\u0026logo=css3\u0026logoColor=white)\n![SASS](https://img.shields.io/badge/SASS-hotpink.svg?style=for-the-badge\u0026logo=SASS\u0026logoColor=white)\n![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge\u0026logo=html5\u0026logoColor=white)\n![Context API](https://img.shields.io/badge/Context--Api-000000?style=for-the-badge\u0026logo=react)\n![Jest](https://img.shields.io/badge/-jest-%23C21325?style=for-the-badge\u0026logo=jest\u0026logoColor=white)\n![ESLint](https://img.shields.io/badge/ESLint-4B3263?style=for-the-badge\u0026logo=eslint\u0026logoColor=white)\n\n## Testing\n\nTesting is implemented using **Jest** and **React Testing Library**. Test files are located in the \\`**tests**\\` directory and page components and cover various components, ensuring reliability and performance.\n\n### Running Tests\n\nTo run all tests:\n\n```bash\nnpm test\n```\n\nThis will execute the unit tests, including snapshot tests to ensure UI consistency.\n\n## Contributing\n\nWe welcome contributions! Follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature/bugfix: \\`git checkout -b feature-name\\`\n3. Make your changes and ensure tests are passing: \\`npm test\\`\n4. Commit your changes: \\`git commit -m 'Add new feature'\\`\n5. Push the branch: \\`git push origin feature-name\\`\n6. Submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehunt101%2Fbeanly-coffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodehunt101%2Fbeanly-coffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehunt101%2Fbeanly-coffee/lists"}