Skip to content

in-the-keyhole/khs-now-playing-api

Repository files navigation

khs-now-playing-api

This repository contains a VSCode Remote Container Setup for developing an Apollo GraphQL in NodeJS/TypeScript. It contains configuration for running.

Visual Studio Code - Remote Container Usage

Official Documentation

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

Prerequisites:

  1. macOS, Windows, Linux -- System Requirements
  2. Docker - Documentation
  3. Visual Studio Code - Official Site
  4. Remote - Containers Visual Studio Code extension - Marketplace

Environment Variables

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

Rest API (TMDB=The Movie Database)
  • 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

Developer Configuration

To initialize the environment, once the repository is opened in the Remote Container, open a Terminal and type:

yarn

Usage & Things you can do

package.json Scripts

Debugging - Local

All of the package.json scripts defined above can be run in a 'JavaScript Debug Terminal' which automatically attaches the debugger.

About

A GraphQL implemention of the now playing movie api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages