A tool for comparing armor pieces and optimizing stats for Destiny 2. (Once it's done, that is...)
First, you'll have to get your own API key by registering at Bungie, here you will also need to set your redirect url to https://localhost:3000/api/auth/redirect.
Create a .env file in the root directory of your project, and copy the following into it:
API_KEY='your x-api-key from bungie goes here'
client_secret='your client secret from bungie'
client_id='your client id from bungie'
baseURL='https://localhost:3000' //This will be changed in production
Mongo_DB='your MongoDB stuff here, I'm using a free Atlas cloud Mongo at the moment'
cookieKey='Put some string here, maybe no spaces?'
You'll also need to set up localhost with your own https certificates. I used the steps detailed here.
Built with Svelte/Sapper and Node/Express.