{"id":16228047,"url":"https://github.com/mpiorowski/microservices-gcp-template","last_synced_at":"2026-04-11T22:02:19.900Z","repository":{"id":98034359,"uuid":"532468271","full_name":"mpiorowski/microservices-gcp-template","owner":"mpiorowski","description":"Microservices Google Cloud Platform template using SvelteKit, Fastify and PostgreSQL.","archived":false,"fork":false,"pushed_at":"2023-02-15T21:08:34.000Z","size":1558,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T04:42:47.027Z","etag":null,"topics":["fastify","google-cloud-platform","graphql","microservice","microservices","sveltekit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mpiorowski.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":"2022-09-04T07:25:36.000Z","updated_at":"2022-09-04T07:29:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfe8107c-26b7-4640-a5d4-59a5d2c74237","html_url":"https://github.com/mpiorowski/microservices-gcp-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpiorowski/microservices-gcp-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpiorowski%2Fmicroservices-gcp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpiorowski%2Fmicroservices-gcp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpiorowski%2Fmicroservices-gcp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpiorowski%2Fmicroservices-gcp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpiorowski","download_url":"https://codeload.github.com/mpiorowski/microservices-gcp-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpiorowski%2Fmicroservices-gcp-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31696743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"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":["fastify","google-cloud-platform","graphql","microservice","microservices","sveltekit"],"created_at":"2024-10-10T12:54:29.797Z","updated_at":"2026-04-11T22:02:19.868Z","avatar_url":"https://github.com/mpiorowski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices GCP template\n\nMicroservices Google Cloud Platform template using:\n\n- [SvelteKit](https://kit.svelte.dev/) (Frontend using [Svelte](https://svelte.dev/) and [TypeScript](https://www.typescriptlang.org/))\n- [Fastify](https://www.fastify.io/) (Microservices using [NodeJS](https://nodejs.dev/) and [TypeScript](https://www.typescriptlang.org/))\n- [PostgreSQL](https://www.postgresql.org/) (Database)\n- [Docker](https://www.docker.com/) (Containerization)\n\nCheck my others similar projects:\n- [Rust with SvelteKit using gRPC](https://github.com/mpiorowski/rust-grpc)\n- [Go with SvelteKit using gRPC](https://github.com/mpiorowski/go-svelte-grpc)\n\n## Architecture\n\n- Frontend is deployed to [Vercel](https://vercel.com/)\n- Gateway and Microservices are deployed to [Google Cloud Run](https://cloud.google.com/run)\n- Client talks to the gateway using [GraphQL](https://graphql.org/)\n- The gateway talks to the microservices using HTTP\n- [Mercurius](https://mercurius.dev/) as GraphQL server\n- [URQL](https://formidable.com/open-source/urql/) as GraphQL client\n- Each microservice has his own database (if needed)\n- Files are stored in [Google Cloud Storage](https://cloud.google.com/storage)\n- Emails are sent using [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) via [SendGrid](https://sendgrid.com/)\n- Automatic deployment using [GitHub Actions](https://docs.github.com/en/actions)\n\n## Base features\n\n- User authentication via magic link\n- Async email sending\n- File upload and download\n\n## Development setup\n\nIn `docker-compose.yml` write down Your SendGrid Api Key.\n\n### Install npm libraries:\n\n```bash\nnpm --prefix ./client install\nnpm --prefix ./gateway install\nnpm --prefix ./server install\n```\n\n### Start development gateway and microservices:\n\n```bash\ndocker-compose up\n```\n\n### Start development frontend:\n\n```bash\nnpm --prefix ./client start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpiorowski%2Fmicroservices-gcp-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpiorowski%2Fmicroservices-gcp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpiorowski%2Fmicroservices-gcp-template/lists"}