This example project uses:
- Next.js for the full-stack app
- PandaScore as esports data API
- ohmyfetch to make HTTP requests
First, copy .env.local.example
as .env.local
.
Then, set PANDASCORE_API_TOKEN
to your PandaScore API token value. Your token can be found in your account
Finally, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
When configuring your app on Vercel, don't forget to set the PANDASCORE_API_TOKEN
environment variable.
Check out the Next.js deployment documentation for more details.