2.0.0 • Published 4 years ago

elixir-health-server v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

postico

https://wanago.io/courses/typescript-express-tutorial/

chrome://flags/#allow-insecure-localhost

Elixir Backend

Prerequisites

  • node: v12.12
  • npm: 6.11.3
  • docker
  • yarn: 1.19.1

Setup

env files

We used .env and .env.* files to populate secrets. You have to speak to me to get the variable values, and what you need populated in the file.

Postgresl

docker-compose up

Server

# install packages
yarn install

# uses webpack to watch for file changes (this is NOT run in the background)
yarn watch

# this starts up the server
yarn start

Package Commands

# resyncs the schema, migrations and seed data for a specific enviornment
yarn rebuild:ENV

# starts Webpack  and watches for file changes
yarn watch:ENV

# runs webpack and builds without watching
yarn build:ENV

Other Commands

List Security Breaches in packages

npm audit

Upgrade of minor and patch version following your version ranges in package.json

yarn outdated
yarn update

Interactive upgrade of minor and patch version following your version ranges in package.json

yarn upgrade-interactive

List outdated dependencies including major version

yarn upgrade-interactive --latest

Troubleshooting

Windows

By default, Virtualbox on Windows doesnt do port forwarding, have to manually add the ports you want port forwarded before any new ports under than SSH will work

Postman

Postman will not return responses from self signed certs, so to get postman to work, need to turn off SSL Validation in postman settings