geoffrich / marvel-by-year

Site to browse Marvel Unlimited by release year.
https://marvel.geoffrich.net/
35 stars 5 forks source link

marvel-by-year

A site to browse the Marvel Unlimited reading service by release year. Built with SvelteKit, TypeScript, Redis (via Upstash), and Open Props, and hosted on Netlify.

For more about how and why I built this, see my blog post.

Commands

See also the SvelteKit CLI docs.

Marvel API

To develop this site, you will need to sign up for a Marvel API key. Once you have the keys, create a .env file and store the keys in environment variables.

MARVEL_PRIVATE_KEY=key_goes_here
MARVEL_PUBLIC_KEY=key_goes_here

Redis

This site caches the Marvel API responses in Redis. You do not need a valid Redis connection to develop, though setting one up will prevent reaching the Marvel API rate limit. Either provide a REDIS_CONNECTION environment variable or start a local Redis server.