{"id":19796716,"url":"https://github.com/fahadpathan7/grpc","last_synced_at":"2026-04-17T00:34:04.906Z","repository":{"id":202578573,"uuid":"705774715","full_name":"fahadPathan7/gRPC","owner":"fahadPathan7","description":"For learning gRPC and doing assignments. ","archived":false,"fork":false,"pushed_at":"2023-10-23T04:31:59.000Z","size":343,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T05:16:45.892Z","etag":null,"topics":["grpc","java","javascript","mysql","protobuf"],"latest_commit_sha":null,"homepage":"","language":"Java","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/fahadPathan7.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-10-16T17:02:43.000Z","updated_at":"2024-02-11T13:08:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c392d14-3147-487d-89c0-2f4b9b820529","html_url":"https://github.com/fahadPathan7/gRPC","commit_stats":null,"previous_names":["fahadpathan7/producer---consumer-management-system-using-grpc","fahadpathan7/grpc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadPathan7%2FgRPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadPathan7%2FgRPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadPathan7%2FgRPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadPathan7%2FgRPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahadPathan7","download_url":"https://codeload.github.com/fahadPathan7/gRPC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241138608,"owners_count":19916358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["grpc","java","javascript","mysql","protobuf"],"created_at":"2024-11-12T07:21:22.676Z","updated_at":"2026-04-17T00:34:04.852Z","avatar_url":"https://github.com/fahadPathan7.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Producer-Consumer Management System using gRPC\n\nThis project demonstrates a producer-consumer management system using gRPC, allowing interaction between producers and consumers.\n\n## Features\n\nThe system offers the following features:\n\n- **New user registration:** Register new users by providing a username and password. Duplicate usernames are not allowed.\n\n- **Existing user login:** Existing users can log in using their registered username and password.\n\n- **Profile creation:** After successful login, users can create their profile by providing:\n    - First name\n    - Last name\n    - Email address\n    - City\n\n- **View profile:** Users can view their profile, displaying either the profile information or a message indicating that the profile is not yet created.\n\n- **Edit profile:** Users can edit their profile information, including first name, last name, email address, and city. Usernames cannot be changed.\n\n## How to Run\n\n### Database Setup\n\n1. Create a database named `grpc` in MySQL (e.g., using XAMPP).\n\n2. Create the `users` and `profiles` tables using the following SQL statements:\n\n```sql\n-- Create the 'users' table\nCREATE TABLE users (\n  username VARCHAR(255),\n  password VARCHAR(255)\n);\n\n-- Create the 'profiles' table\nCREATE TABLE profiles (\n  username VARCHAR(255),\n  firstname VARCHAR(255),\n  lastname VARCHAR(255),\n  email VARCHAR(255),\n  city VARCHAR(255)\n);\n```\n\n\n### Project Setup\n\n1. Open the `producerConsumerGrpc` project on intellIJ.\n\n2. Load Maven dependencies.\n\n### Running the Project\n\n1. Run the `grpcServer.java` file to start the gRPC server.\n\n2. Run the `grpcClient.java` file to start the gRPC client.\n\n3. Follow the prompts in the client application to perform various actions, such as registering a new user, logging in, creating a profile, viewing a profile, or editing a profile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahadpathan7%2Fgrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahadpathan7%2Fgrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahadpathan7%2Fgrpc/lists"}