- Web app with NextJS
- UI with Tailwind
- Api with Graphql hosted on NextJS/API
- Database with MongoDB
You can create a free MongoDB cluster with MongoDB Cloud
- Setup
# Install dependencies
npm install
# Create env file
cp .env.example .env
- Fill all environment variables in order to run properly the project.
npm run dev
npm run build
- All API responses are cached server side and cleared on new updates
- Predictions data is retrieved each 15/minutes with a cronjob
- (...)
- Host API in no serverless environment for faster access.
- Set DB and API on same region for faster communication between servers
- (...)
- Related games to predictions and create stats
- (...)