{"id":25319455,"url":"https://github.com/yann-github/graphql-phonebook","last_synced_at":"2026-04-06T01:35:17.743Z","repository":{"id":276099207,"uuid":"927666475","full_name":"Yann-GitHub/graphql-phonebook","owner":"Yann-GitHub","description":"☎️ Simple Phonebook app w/ GraphQL Api","archived":false,"fork":false,"pushed_at":"2025-05-09T14:44:16.000Z","size":348,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T04:45:49.212Z","etag":null,"topics":["apollo-cache","apollo-client-devtools","apollo-server","authentication","bcrypt","caching","graphql-api","jwt-token","logging-system","mongodb","mongodb-atlas","mongoose","react-router","react-toastify","resolvers","winston","zustand"],"latest_commit_sha":null,"homepage":"","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/Yann-GitHub.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":"2025-02-05T10:41:03.000Z","updated_at":"2025-05-09T14:44:19.000Z","dependencies_parsed_at":"2025-02-06T09:37:13.432Z","dependency_job_id":"9106edb2-6597-48a7-89f7-002cee0d0b25","html_url":"https://github.com/Yann-GitHub/graphql-phonebook","commit_stats":null,"previous_names":["yann-github/graphql-phonebook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yann-GitHub/graphql-phonebook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-GitHub%2Fgraphql-phonebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-GitHub%2Fgraphql-phonebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-GitHub%2Fgraphql-phonebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-GitHub%2Fgraphql-phonebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yann-GitHub","download_url":"https://codeload.github.com/Yann-GitHub/graphql-phonebook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-GitHub%2Fgraphql-phonebook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31456662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["apollo-cache","apollo-client-devtools","apollo-server","authentication","bcrypt","caching","graphql-api","jwt-token","logging-system","mongodb","mongodb-atlas","mongoose","react-router","react-toastify","resolvers","winston","zustand"],"created_at":"2025-02-13T20:40:30.080Z","updated_at":"2026-04-06T01:35:17.726Z","avatar_url":"https://github.com/Yann-GitHub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Phonebook Application\n\nA full-stack address book application built with React, Apollo Client, GraphQL, and MongoDB.\n\n## Features\n\n- Complete contact management system\n- Search contacts by name or phone number\n- Mark contacts as favorites and filter by favorites\n- User authentication and personalized contacts list\n- Edit contact information with in-place editing\n- GraphQL API with efficient data fetching\n\n## Tech Stack\n\n### Frontend\n\n- React (Vite)\n- Apollo Client for GraphQL queries\n- Zustand for state management\n- React Router for navigation\n- Custom CSS with animations and responsive design\n\n### Backend\n\n- Node.js\n- Apollo Server\n- GraphQL\n- MongoDB with Mongoose\n- JWT Authentication\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14+)\n- MongoDB installation or MongoDB Atlas account\n\n### Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/Yann-GitHub/graphql-phonebook.git\ncd graphql-phonebook\n```\n\n2. Install backend dependencies\n\n```bash\ncd back\nnpm install\n```\n\n3. Install frontend dependencies\n\n```bash\ncd ../front\nnpm install\n```\n\n4. Configure environment variables\n   - Create a `.env` file in the `back` directory with:\n\n```\nMONGODB_URI=your_mongodb_connection_string\nJWT_SECRET=your_jwt_secret\nPORT=4000\n```\n\n### Running the Application\n\n1. Start the backend server\n\n```bash\ncd back\nnpm start\n```\n\n2. Start the frontend development server\n\n```bash\ncd front\nnpm run dev\n```\n\n3. Open your browser and navigate to `http://localhost:5173`\n\n## Usage\n\n### User Authentication\n\n- Register a new account\n- Log in with your credentials\n- Logged-in users can add contacts to their favorites list\n\n### Managing Contacts\n\n- View all contacts in the phonebook\n- Search for contacts by name or phone number\n- Filter to show only favorite contacts\n- Click on a contact card to view detailed information\n- Add contacts to your favorites with the toggle switch\n- Edit phone numbers directly in the contact details view\n\n## Project Structure\n\n```\ngraphql-phonebook/\n├── back/                   # Backend code\n│   ├── models/             # Mongoose data models\n│   ├── resolvers/          # GraphQL resolvers\n│   ├── plugins/            # Apollo server plugins\n│   ├── utils/              # Utility functions\n│   └── server.js           # Server entry point\n│\n└── front/                  # Frontend code\n    ├── src/\n    │   ├── components/     # React components\n    │   ├── pages/          # Page components\n    │   ├── queries.js      # GraphQL queries\n    │   ├── store/          # Zustand state stores\n    │   ├── utils/          # Utility functions\n    │   ├── App.jsx         # Main App component\n    │   └── main.jsx        # Entry point\n    └── index.html          # HTML template\n```\n\n## Future Enhancements\n\n- Add profile picture upload functionality\n- Implement contact grouping and tagging\n- Add dark mode theme\n- Enable import/export of contacts\n- Implement real-time updates with GraphQL subscriptions\n- Implement dataloader for optimized data fetching\n- Redis caching for improved performance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyann-github%2Fgraphql-phonebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyann-github%2Fgraphql-phonebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyann-github%2Fgraphql-phonebook/lists"}