Skip to content

zsd7200/binder

Repository files navigation

PokéBinder

A Pokémon TCG binder organizer. WIP.

Getting Started

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 secret

AUTH_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 i

Then, run the development server:

npm run dev

Open 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.

About

Pokémon TCG Binder Organizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages