kanatamon / graphql-noob

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start Development

  1. Start container then shell into it
make start
  1. Install dependencies
npm install

Development Process Using Docker As Environment

Bootstrap project from scratch

  1. Start docker container of node:10.3-alpine then run shell by calling sh
docker run --rm -it -v "$PWD":/usr/app node:10.3-alpine- sh
  1. Now we should be placed in sh mode of the container, we can start initializing project using npm
npm init -y && npm install --save graphql express express-graphql

Short Hands

To start development FASTER!

# Step 1: Build image
make image

# Step 2: Start container
make start

# Then do whatever in container 

References

Issues

About


Languages

Language:JavaScript 95.4%Language:Makefile 4.6%