Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahabubx7/graphql-api-kit
ApolloServer (Standalone + TS [esm]) GraphQL API starter kit. Suitable for sub-graph/service starter.
https://github.com/mahabubx7/graphql-api-kit
Last synced: 1 day ago
JSON representation
ApolloServer (Standalone + TS [esm]) GraphQL API starter kit. Suitable for sub-graph/service starter.
- Host: GitHub
- URL: https://github.com/mahabubx7/graphql-api-kit
- Owner: mahabubx7
- License: mit
- Created: 2024-01-11T17:31:45.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-11T18:17:52.000Z (10 months ago)
- Last Synced: 2024-01-12T03:19:02.522Z (10 months ago)
- Language: TypeScript
- Size: 97.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL API (service/subgraph) starter kit
> It is a standalone `@apollo/server` nodejs server with TypeScript support and ESM modules.
### Features
I have tried to setup some key features as a starter only.
- TypeScript support
- ESM modules
- GraphQL API server (standalone only mode [Nodejs(ESM) + Apollo])
- GraphQL Playground
- Pre-setup tests for TDD (built-in node.js testing framework)
- Linters for standard coding workflows
- Docker containerization support
- Websocket (subscription) support [coming soon]### Docker Guides
> Always keep your host address in IPv4 (recommended)
>
> As example: '0.0.0.0' or '127.0.0.1' (as you need)**Build image & create the container**
```bash
docker build -t# then
docker run -p 4000:4000 -d --name
```> You can use `docker-compose` to run the image with `docker-compose.yml` when you are having multiple containers in your project.