mirror of
https://github.com/guevaran/game-finder.git
synced 2026-05-28 19:37:35 +02:00
No description
- Vue 69.2%
- TypeScript 27.2%
- CSS 3.1%
- Dockerfile 0.5%
|
|
||
|---|---|---|
| .github/workflows | ||
| assets/css | ||
| components | ||
| public | ||
| server | ||
| .gitignore | ||
| .prettierrc | ||
| app.config.ts | ||
| app.vue | ||
| docker-compose.yml | ||
| Dockerfile | ||
| nuxt.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Game Finder
What to play? With Game Finder, discover your next video game to play! Game Finder is an open source web app that gives ideas of what video game to play.
Try it: Game Finder
Author
Data source
Game Finder uses data from IGDB.
Setup locally
- Clone the repo :
git clone https://github.com/guevaran/game-finder.git - Follow account creation of IGDB documentation
- Create a file
.envat project root with content :
IGDB_API_BASE_URL="https://api.igdb.com/v4"
IGDB_TWITCH_AUTH_URL="https://id.twitch.tv/oauth2/token?client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET>&grant_type=client_credentials"
IGDB_CLIENT_ID="<IGDB_CLIENT_ID>"
IGDB_CLIENT_SECRET="<IGDB_CLIENT_SECRET>"
- Install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
- Start the development server on
http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
IGDB Token Refresh
FYI the server/autoRefreshToken.ts script runs on weekly basis while the server is running in order to refresh the access token of IGDB that has an expiration date.