A Pokémon TCG binder organizer. WIP.
Create a .env with the following entries:
POKETCG_API_KEY=
MONGODB_URI=
AUTH_SECRET=
AUTH_DISCORD_ID=
AUTH_DISCORD_SECRET=
POKETCG_API_KEY can be obtained from here.
MONGODB_URI is the connection string to your MongoDB database. A free-tier Mongo database can be made using MongoDB Cloud Services.
AUTH_SECRET can be generated by running this command from project root:
npx auth secretAUTH_DISCORD_ID and AUTH_DISCORD_SECRET can be created by going to the Discord Developer Portal, creating a new application, then clicking the "OAuth2" link in the sidebar. You will have to click "Reset Secret" to generate your secret, but your client ID should be visible immediately.
Then, run install command:
npm iThen, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result. First run will take significantly longer than any subsequent runs as it has to fill the Mongo database with data.