This repository contains a VSCode Remote Container Setup for developing an Apollo GraphQL in NodeJS/TypeScript. It contains configuration for running.
Note: Once you meet the prerequisites, you can run ANY Visual Studio Code Remote Container, which provides a Docker based development environment ensuring a consistent and reliable set of tooling needed to interact and execute a repository codebase
- macOS, Windows, Linux -- System Requirements
- Docker - Documentation
- Visual Studio Code - Official Site
- Remote - Containers Visual Studio Code extension - Marketplace
The remote container honors the following environment variables set in the .devcontainer/.env
Note: You can copy the .devcontainer/.env.template file to .devcontainer/.env and supply the following variables
- TMDB_BASE_URL
- TMDB_API_KEY
Note: Changes to variables in .env after the container is running will require the Remote Container to be restarted
To initialize the environment, once the repository is opened in the Remote Container, open a Terminal and type:
yarn
All of the package.json scripts defined above can be run in a 'JavaScript Debug Terminal' which automatically attaches the debugger.