{"id":46296523,"url":"https://github.com/kalisankevin/crms","last_synced_at":"2026-03-04T10:01:06.972Z","repository":{"id":258915516,"uuid":"874420985","full_name":"kalisaNkevin/crms","owner":"kalisaNkevin","description":"A simple dashboard using Next.js that displays website visit statistics and customer data from a CRM system","archived":false,"fork":false,"pushed_at":"2024-10-22T08:55:18.000Z","size":1255,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"staging","last_synced_at":"2024-10-23T02:55:47.779Z","etag":null,"topics":["chadcnui","crm","firebase","material-ui","mockaroo-api","nextjs","react-query","recharts","tailwindcss","tailwindui","typescript"],"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/kalisaNkevin.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":"2024-10-17T19:49:33.000Z","updated_at":"2024-10-22T08:55:22.000Z","dependencies_parsed_at":"2024-10-21T07:16:00.462Z","dependency_job_id":null,"html_url":"https://github.com/kalisaNkevin/crms","commit_stats":null,"previous_names":["kalisankevin/crms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kalisaNkevin/crms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalisaNkevin%2Fcrms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalisaNkevin%2Fcrms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalisaNkevin%2Fcrms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalisaNkevin%2Fcrms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalisaNkevin","download_url":"https://codeload.github.com/kalisaNkevin/crms/tar.gz/refs/heads/staging","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalisaNkevin%2Fcrms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["chadcnui","crm","firebase","material-ui","mockaroo-api","nextjs","react-query","recharts","tailwindcss","tailwindui","typescript"],"created_at":"2026-03-04T10:01:06.109Z","updated_at":"2026-03-04T10:01:06.963Z","avatar_url":"https://github.com/kalisaNkevin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### CRMS Frontend Interview\n\n## Project Overview\n\nThis project is a simple Next.js web application that fetches and visualizes website visit data and customer data from a CRM. It demonstrates the ability to work with data, APIs, and modern frontend development tools while ensuring performance and user experience.\n\n![Project Overview](public/images/overview.png)\n![Project Table](public/images/analytics.png)\n![Project Table](public/images/table.png)\n\n## Features\n\n- **Landing Page**: Displays aggregated data for total visitors, bounce rate, and average session duration.\n- **Detailed Visit Analysis**: Provides a graph showing trends for website visits over the past 30 days using Chart.js.\n- **CRM Data List**: Displays customer data with pagination and a search bar to filter the list of customers by name or email.\n\n## Technical Requirements\n\n- **Next.js Framework**: Used for server-side rendering and fast performance.\n- **Data Fetching**: Uses Next.js API routes or `getServerSideProps` to fetch data from the Mockaroo API.\n\n## Setup Instructions\n\n### Prerequisites\n\n- **Node.js**: Make sure you have Node.js installed on your local machine. You can download it from [nodejs.org](https://nodejs.org/).\n- **npm or yarn**: Ensure you have one of these package managers installed. npm comes with Node.js, and you can install yarn by following the instructions on [yarnpkg.com](https://yarnpkg.com/).\n- **mockaroo** : Make sure you have an account on Mockaroo you use your own api keys to fetch the fake data. you can create on from [here](https://mockaroo.com)\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone git@github.com:kalisaNkevin/crms.git\n   cd CRMS\n   ```\n2. Add .env.local file in the file directory:\n   ```bash\n   Refer your self from the .ENV.EXAMPLE to use your own keys.\n   ```\n3. Build the schema according to this reference here :\n\n![Project Schema](public/images/schema.png)\n\n### Install dependencies\n\n1. In your terminal execute the following command depending on your package manager :\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n### Running the Project\n\n1. In your terminal execute the following command depending on your package manager :\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\n2. Your application will be available at \u003chttp://localhost:3000\u003e.\n\n### License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://www.mit.edu/~amini/LICENSE.md) file for details.\n\n## Author\n\nThis project was initiated by [Kalisa Ngabo Kevin](kalisangabokevin.me). You can reach out to me at [kalisangabokevin@gmail.com](kalisangabokevin@gmail.com) or visit my GitHub profile at [https://github.com/kalisaNkevin](https://github.com/kalisaNkevin).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalisankevin%2Fcrms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalisankevin%2Fcrms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalisankevin%2Fcrms/lists"}