Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.57 KB

README.md

File metadata and controls

56 lines (37 loc) · 1.57 KB

Twitch predictions stats

Stacks

  • Web app with NextJS
  • UI with Tailwind
  • Api with Graphql hosted on NextJS/API
  • Database with MongoDB

Deploy with Vercel

Deploy with Vercel

Install

You can create a free MongoDB cluster with MongoDB Cloud

  1. Setup
# Install dependencies
npm install
# Create env file
cp .env.example .env
  1. Fill all environment variables in order to run properly the project.

Run

npm run dev

Build

npm run build

Features

  • All API responses are cached server side and cleared on new updates
  • Predictions data is retrieved each 15/minutes with a cronjob
  • (...)

Improvements

  • Host API in no serverless environment for faster access.
  • Set DB and API on same region for faster communication between servers
  • (...)

New features to create

  • Related games to predictions and create stats
  • (...)