Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jefersoneiji/graphql-typescript-template
A graphql server combined with typescript.
https://github.com/jefersoneiji/graphql-typescript-template
bash containerization docker dockerfile graphql nexus-graphql typescript
Last synced: 16 days ago
JSON representation
A graphql server combined with typescript.
- Host: GitHub
- URL: https://github.com/jefersoneiji/graphql-typescript-template
- Owner: jefersoneiji
- Created: 2023-12-14T19:17:37.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-20T23:17:31.000Z (about 1 year ago)
- Last Synced: 2024-11-01T23:25:16.725Z (2 months ago)
- Topics: bash, containerization, docker, dockerfile, graphql, nexus-graphql, typescript
- Language: TypeScript
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Graphql Typescript Template
This template is meant to be used in back-end development.## Installation
1. Clone this repository
```cmd
https://github.com/jefersoneiji/graphql-typescript-template.git
```
2. Install dependencies
```cmd
yarn install
```
3. To run this project execute
```cmd
yarn start
```## Accessing GraphiQL
Use this address
```
http://localhost:4000/graphql
```## Docker
1. To build the image type
```cmd
docker build -t graphql-typescript-template .
```
2. Create and run containers from image
```cmd
docker run -dp 127.0.0.1:4000:4000 graphql-typescript-template
```
3. Open container in editor
For vscode, you may use the dev containers extension
```cmd
https://code.visualstudio.com/docs/devcontainers/containers
```## Known issues
Q: After the container is opened, git may show some files as modified although nothing was changed.
A: In this case, just discard all "changes" and you're good to go.