{"id":19521768,"url":"https://github.com/younesious/mailing-list-microservice","last_synced_at":"2025-08-19T20:16:44.272Z","repository":{"id":241065087,"uuid":"803925403","full_name":"younesious/mailing-list-microservice","owner":"younesious","description":"A microservice-based mailing list management system using Go, gRPC, Docker, and SQLite. It offers both HTTP and gRPC APIs for managing email entries, containerized for easy deployment and scalability.","archived":false,"fork":false,"pushed_at":"2024-06-06T20:22:49.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T22:30:52.634Z","etag":null,"topics":["docker-compose","go","grpc","grpc-go","micro-service","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Go","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/younesious.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}},"created_at":"2024-05-21T16:10:32.000Z","updated_at":"2025-02-03T13:06:18.000Z","dependencies_parsed_at":"2024-05-22T08:28:58.718Z","dependency_job_id":"11dca596-0dd9-4b14-86d4-32988da4875f","html_url":"https://github.com/younesious/mailing-list-microservice","commit_stats":null,"previous_names":["younesious/mailing-list-microservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/younesious/mailing-list-microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younesious%2Fmailing-list-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younesious%2Fmailing-list-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younesious%2Fmailing-list-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younesious%2Fmailing-list-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/younesious","download_url":"https://codeload.github.com/younesious/mailing-list-microservice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younesious%2Fmailing-list-microservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271215037,"owners_count":24720098,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker-compose","go","grpc","grpc-go","micro-service","sqlite"],"created_at":"2024-11-11T00:34:50.225Z","updated_at":"2025-08-19T20:16:44.239Z","avatar_url":"https://github.com/younesious.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailing List Microservice\n\n## Description\n\nThis project is a microservice-based mailing list management system built with Go, gRPC, and Docker. It includes an HTTP API for handling JSON requests and a gRPC API for more efficient communication between microservices. The system uses SQLite as its database.\n\n## Project Structure\n\n```sh\n├── db\n│   └── db.go\n├── docker-compose.yml\n├── go.mod\n├── go.sum\n├── grpc_api\n│   ├── grpc_client\n│   │   ├── Dockerfile\n│   │   └── grpc_client.go\n│   └── grpc_server\n│       └── grpc_server.go\n├── json_api\n│   └── handlers.go\n├── LICENSE\n├── mailinglist.db\n├── proto\n│   ├── email_grpc.pb.go\n│   ├── email.pb.go\n│   └── email.proto\n├── README.md\n└── server\n    ├── Dockerfile\n    └── server.go\n\n7 directories, 16 files\n\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Docker\n- Docker Compose\n\n### Running the Project\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/younesious/mailing-list-microservice.git\n   cd mailing-list-microservice\n   ```\n\n2.  Build and start the services using Docker Compose:\n\n    ```sh\n    docker compose up --build\n    ```\n\n3.  The HTTP server will be available on `http://localhost:8080` and the gRPC server on `http://localhost:8081`.\n\n### Interacting with the Services\n\n#### HTTP API Endpoints\n\n-   Add Email: `POST /email/add`\n-   Get Email: `GET /email/get`\n-   Update Email: `PUT /email/update`\n-   Delete Email: `DELETE /email/delete`\n-   Get Email Batch: `GET /email/batch`\n\n#### gRPC API\n\nThe gRPC API can be accessed using any gRPC client. Refer to the `proto/email.proto` file for the service definitions.\n\n### Building the Project\n\nTo build the project manually:\n\n+  Build the server:\n\n    ```sh\n    docker build -t myserver -f server/Dockerfile .\n    ```\n+  Build the client:\n\n    ```sh\n    docker build -t myclient -f grpc_api/grpc_client/Dockerfile .\n    ```\n\n### Running the Project\n\nTo run the gRPC server and client:\n\n```sh\ndocker compose up --build\n```\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/younesious/mailing-list-microservice/blob/master/LICENSE) file for details.\n\n### Contributing\n\nFeel free to contribute and I'll be happy to see you :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyounesious%2Fmailing-list-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyounesious%2Fmailing-list-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyounesious%2Fmailing-list-microservice/lists"}