Skip to content

mikemainguy/diaquest

Repository files navigation

Read me

Getting Started

This project require firebase realtime DB and auth0 to run. You can firebase install locally using These Instructions. Alternatively, if you have your own firebase realtime db already set up, you can configure to use your copy. RUnning without Auth0 isn't currently supported, but I would welcome a PR to allow safely disabling it.

Notably, you're going to need the following things in an .env file.

AUTH0_BASE_URL: https://localhost:3000
AUTH0_SECRET:  <<Secret obtained from auth0>>
AUTH0_ISSUER_BASE_URL: <<Issuer basae url from auth0>>
FIREBASE_PRIVATE_KEY: <<firebase realtime private key -----BEGIN PRIVATE KEY-----
NR_LICENCE_KEY: <<new relic license key>>
NR_ACCOUNT_ID: <<new relic account #>>
SIGNALWIRE_TOKEN: <<signal wire secret (for backend rest api to generate token)>>
SIGNALWIRE_USER: <<signalwire user>>
AUTH0_CLIENT_ID: <<auth0 client id>>
VOICE_TOKEN: <<for voice recognition>>

Once you have those configured, you should be good to go, just run npm start.

Tested Configuration: Node 14.18.1 Npm 6.14.8

##Notes THere's some non-sensitive firebase and auth0 stuff that you probably need to additionally config. Would love some help on troubleshooting this and figuring out how to handle "new tenants in existing db/auth" and "completely new tenant for auth/firebase"...ideally corporate client and others could just fork this and config and run a completely custom solution versus making everything "come to the mothership".

Feel free to reach out on discord at

"Small Store" (https://skfb.ly/6wzr9) by nikolanchino is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/). "Server Rack" (https://skfb.ly/6SARA) by Spellkaze is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published