ryan-haskell / pokeapi-cache-server

dont ddos the pokeapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@ryannhg/pokeapi-cache-server

Don't DDOS the PokeAPI!

Try it out

Note: This server requires Node.js v16+

npm start

🚀 The API will be running at http://localhost:5000/api/v2

Options

You can use these environment variables to customize how the API server runs.

PORT

Which port should the server run on? (Default: 5000)

Example usage:

PORT=7000 npm start

DELAY

Helpful for simulating a slower API, in milliseconds (Default: 0)

Example usage:

DELAY=1000 npm start

About

dont ddos the pokeapi


Languages

Language:JavaScript 100.0%