Skip to content

michaelenger/duders-zone

 
 

Repository files navigation

Duders Zone

This is an archival website about video games. It shows video content from Giant Bomb where the actual videos are hosted at Internet Archive. It's maintained for my own nostalgic benefit.

Thanks for everything! See you next game.

Requirements

  • Node 19+

Developing

Install the dependencies:

npm install

Run the development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Use the check script to validate TypeScript code:

npm run check

Use the format script to format code:

npm run format

Use the test script to test the code:

npm run test

Deploying

Use the build script to make a production build of the site:

npm run build

Note that the site is configured to be run on Netlify and may not run correctly on a different platform. If you want to run it somewhere else you may need to change the adapter in the svelte.config.js file.

Downloading Data

The web app relies on bundled JSON files for its data store which need to be refreshed using the Giant Bomb and Internet Archive APIs to get any updates to the collection. This is done using the script in the scripts directory.

To run the script you will need an existing Giant Bomb API key. This can be retrieved from Giant Bomb (while it's still available) and you need to provide it as an environment variable named GB_API_KEY.

Once that's in place you can run the script using the sync command:

npm run sync

Or manually using Node:

node run scripts/sync_data.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 55.6%
  • TypeScript 28.1%
  • JavaScript 12.4%
  • CSS 2.5%
  • HTML 1.4%