Random things in Typescript, Express, REST, GraphQL and PostgreSQL
# install nvm (node version manager)
brew install nvm
# install the latest LTS and make it the default
nvm install 10
nvm alias default 10Follow the install instructions for docker
https://docs.docker.com/docker-for-mac/
https://docs.docker.com/docker-for-windows/
# start the docker container for postgres
docker-compose up -d
# install the command line tools for postgres
brew install postgresql- Run
npm ifrom the root directory in a terminal window. Perform this step before running, testing, or building
- Run
npm run devfrom the root directory in a terminal window
- Run
npm testfrom the root directory in a terminal window
- Run
npm run buildfrom the root directory in a terminal window - Run
npm startfrom the root directory in a terminal window