This template is meant to be used in back-end development.
- Clone this repository
https://github.com/jefersoneiji/graphql-typescript-template.git
- Install dependencies
yarn install
- To run this project execute
yarn start
Use this address
http://localhost:4000/graphql
- To build the image type
docker build -t graphql-typescript-template .
- Create and run containers from image
docker run -dp 127.0.0.1:4000:4000 graphql-typescript-template
- Open container in editor For vscode, you may use the dev containers extension
https://code.visualstudio.com/docs/devcontainers/containers
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.