staff-api
Version, currently 1.1.22 versions
- 1.1.2latestNov 4, 2021
- 1.0not indexedAug 14, 2026
github.com/PlaceOS/staff-api
PlaceOS workplace management API.
0 stars
0 dependents
License: NOASSERTION
Installation
# Add this to your shard.yml
dependencies:
staff-api:
github: PlaceOS/staff-api
version: ~> 1.1.2Then run:
shards installshard.yml
- Crystal
- no constraint declared
- Target
appfrom src/staff-api.cr
Dependencies
Runtime Dependencies
- clear*github: place-labs/clear, branch: master
- raven*github: Sija/raven.cr, branch: master
- placeos*github: placeos/crystal-client, branch: master
- promise*github: spider-gazelle/promise
- secrets-env*github: place-labs/secrets-env
- place_calendar*github: PlaceOS/calendar
- placeos-models~> 5.9github: placeos/models
- action-controller*github: spider-gazelle/action-controller
- placeos-log-backend*github: place-labs/log-backend
- http-params-serializable*github: place-labs/http-params-serializable, branch: chore/0.36.0
Development Dependencies
README
PlaceOS Staff API
Service for integrating PlaceOS with the workplace.
Environment
These environment variables are required for configuring an instance of Staff API
SG_ENV=production # When set to production, the auth token in the request header will be used for auth, instead of static credentials from environment variables
# Database config:
PG_DATABASE_URL=postgresql://user:password@hostname/placeos
# Size of the connection pool
PG_CONNECTION_POOL_SIZE=5
# Public key for decrypting and validating JWT tokens
JWT_PUBLIC=base64-public-key #same one used by PlaceOS rest-api
# Location of PlaceOS API
PLACE_URI=https://example.place.technology
Optional
# Default Timezone
STAFF_TIME_ZONE=Australia/Sydney #default to UTC if not provided
SSL_VERIFY_NONE=true # Whether staff-api should verify the SSL cert that PlaceOS rest-api presents
# Sentry monitoring
SENTRY_DSN=<sentry dsn>
# Logstash log ingest
LOGSTASH_HOST=example.com
LOGSTASH_PORT=12345
# Sentry monitoring
SENTRY_DSN=<sentry dsn>
# Logstash log ingest
LOGSTASH_HOST=example.com
LOGSTASH_PORT=12345
Development
The test script spins up a configured development environment, and can be used like so...
./test
or, to run specs as you make changes...
./test --watch
Note: pass the -Dquiet flag to silence the SQL loging
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.1.2- Tagged
- Nov 4, 2021
- Commit
cb78a6123e29- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/PlaceOS/staff-api
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 2