New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

stack-demo-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stack-demo-api

The API component of stack-demo, an application designed to get you started with the GP stack

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

stack-demo-api

The API component of stack-demo, an application designed to get you started with the GP stack

example ./api/package.json scripts

"scripts": {
  "start": "env-cmd .env babel-node src/index.js --silent",
  "production": "babel --presets latest,stage-2 src --out-dir /build"
}

example ./api/.env file

# GENERAL
APP_ROOT="https://localhost:3000"
API_NAME="stack-demo"
API_PORT=3001
API_ROOT="https://localhost:3001"
API_LOGENTRIES_TOKEN="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

# HTTPS NODE SERVER
# Set to 0 to allow for self-signed TLS certificates during development
NODE_TLS_REJECT_UNAUTHORIZED="0"


# Self-signed certs for development
# To generate a private key and public cert with no passphrase for TLS use:
# > openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650 -nodes

TLS_CERT="MIIE7TC...+gozUoKc="
TLS_KEY="MIIJRAIB...DBq1R"


# AMAZON AWS
AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxxxxxxxx"
AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxx"
AWS_ROOT_BUCKET="goodpractice"


# SSO
SSO_COOKIE_SECRET="95tuX...entropy...LWebas"
SSO_IDP_URL="https://accounts.google.com/o/saml2/idp?idpid=C03qui8l3"
SSO_SP_ENTITYID="manage-star-local"
SSO_SP_PRIVATE_KEY="MIIJRA...0Pmf2"


# GP-API
GP_API_URL="http://localhost:8082"
GP_API_PUBLIC="xxxxxxxxxxxxxxxxxxxxxxxx"
GP_API_SECRET="xxxxxxxxxxxxxxxxxxxxxxxx"
GP_API_ADMIN="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

FAQs

Package last updated on 18 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts