🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

spp-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

spp-api

API server powering the Self-Portrait Project

unpublished
latest
npmnpm
Version
2.0.5-89
Version published
Maintainers
1
Created
Source

API Server for the Self-Portrait Project backend

Circle CI

##Neccesary environment variables (.env)

DEBUG=spp-api:api:defaultErrorMiddleware
DATABASE_URL=postgres://user:pass@localhost:5000/
USE_PG_SSL=0  # 1 for production, unset or 0 otherwise

You'll want to configure FB_APP_ID and FB_APP_SECRET to point at your own personal Facebook test app, to make sure you don't step on the toes of CircleCI, staging, or another developer while your integration (Mocha) tests create and tear down Facebook test users.

In production, we also want to set APNS_PRODUCTION_PASS.

##Install

$ npm install

##Test

$ mocha

##Deployment

CircleCI runs on each push to master. Heroku auto-deploys to staging whenever CircleCI passes. Pipeline promotion downstream to production happens manually.

FAQs

Package last updated on 14 Jan 2022

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