ace-api-server

0.3.24 • Public • Published

ACE API Server

RESTish API Server module used by ACE projects

Documentation

Documentation is currently a work in progress.

http://petstore.swagger.io/?url=https://rawgit.com/StudioThomas/ace-api-server/master/docs/api.json#/

Environment Variables

ENVIRONMENT=development|testing|production

DEBUG=false # Change to nano etc

CACHE_ENABLED=false
CACHE_TTL=30
CACHE_COMPRESS=false

DB_URL=

API_PREFIX=
API_BLACKLIST_TOKEN=
API_BLACKLIST_REFERRER=

SESSION_SECRET=
SESSION_TTL=

AUTH_TOKEN_SECRET=

DEV_SLUG=
DEV_USER_ID=
DEV_ROLE=

METER_CLOUDANT_REQUEST=false
METER_CLOUDANT_INTERVAL=false

ASSIST_URL=
ASSIST_USERNAME=
ASSIST_PASSWORD=

EMBEDLY_API_KEY=

LOGENTRIES_TOKEN=

AWS_IAM_ACCESS_KEY_ID=
AWS_IAM_ACCESS_KEY_SECRET=

REDIS_URL=
# or
REDIS_HOST=
REDIS_PORT=
REDIS_PASSWORD=

STRIPE_CLIENT_ID=
STRIPE_CLIENT_SECRET=
STRIPE_API_KEY=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

INSTAGRAM_CLIENT_ID=
INSTAGRAM_CLIENT_SECRET=

VIMEO_CLIENT_ID=
VIMEO_CLIENT_SECRET=

AWS_S3_BUCKET=

ZENCODER_API_KEY=
ZENCODER_S3_BUCKET=
ZENCODER_S3_CREDENTIALS=

TWITTER_ACCESS_TOKEN_KEY=
TWITTER_ACCESS_TOKEN_SECRET=
TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=

Useful

# Heroku rebuild (similar to rm -rf node_modules locally)
$ heroku repo:purge_cache -a appname && \
    git commit --allow-empty -m "rebuild" && \
    git push heroku master

Keywords

none

install

npm i ace-api-server

Downloadsweekly downloads

1

version

0.3.24

license

SEE LICENSE IN LICENSE

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability