Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/city-of-helsinki/parking-permits-gateway
Apollo-federation gateway for parking-permits service
https://github.com/city-of-helsinki/parking-permits-gateway
Last synced: about 2 months ago
JSON representation
Apollo-federation gateway for parking-permits service
- Host: GitHub
- URL: https://github.com/city-of-helsinki/parking-permits-gateway
- Owner: City-of-Helsinki
- License: mit
- Created: 2021-04-12T08:26:16.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2023-11-16T05:17:45.000Z (about 1 year ago)
- Last Synced: 2024-04-08T16:42:49.710Z (9 months ago)
- Language: Shell
- Size: 284 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Parking Permits Gateway
Backend repository for parking permits gateway developed by City of Helsinki.
Instructions in this README.md are written with an experienced developer in mind.
For example, "docker-compose up" means you already know what docker and docker-compose are
and you already have both installed locally. This helps to keep the README.md concise.### Architecture overview
Gateway is implemented using [Apollo Federation architecture](https://www.apollographql.com/docs/federation/#architecture):
```
An Apollo Federation architecture consists of:- A collection of subgraphs (usually represented by different back-end services) that each define a distinct GraphQL schema
- A gateway that composes the subgraphs into a federated data graph and executes queries across multiple subgraphs
```Our gateway composes the following subgraphs:
1. [parking-permits](https://github.com/City-of-Helsinki/parking-permits)
2. [open-city-profile](https://github.com/City-of-Helsinki/open-city-profile) **TO BE DONE**### Setting up local development environment with Docker
- Clone the repository
- Start the application
```bash
docker-compose up
```- Access development server on [localhost:3333](http://localhost:3333)
- Done!