Skip to content

jefersoneiji/graphql-typescript-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql image

Graphql Typescript Template

This template is meant to be used in back-end development.

Installation

  1. Clone this repository
https://github.com/jefersoneiji/graphql-typescript-template.git
  1. Install dependencies
yarn install 
  1. To run this project execute
yarn start

Accessing GraphiQL

Use this address

http://localhost:4000/graphql

Docker

  1. To build the image type
docker build -t graphql-typescript-template .
  1. Create and run containers from image
docker run -dp 127.0.0.1:4000:4000 graphql-typescript-template
  1. Open container in editor For vscode, you may use the dev containers extension
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.

About

A graphql server combined with typescript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published