gaming-leaderboard-demo
Learn how to use ScyllaDB to generate a monstrously fast leadearboard for your application!
File Explorer
Download Latest Version (.zip)- preview-list-played-tracks.png
- preview-scylla-cloud-cluster-creation.png
- preview-scylla-cluster-credentials.png
- preview-song-leaderboard.png
- preview-submission-history.png
- preview-submission.png
- theme.ts
- createEmotionCache.ts
- index.js
- sample_data.cql
- sampleData.json
- schema.cql
- app_screen.png
- favicon.ico
- logo.png
- Leaderboard.tsx
- LeaderboardFilters.tsx
- LeaderboardTrackCard.tsx
- ListItems.tsx
- SideBar.tsx
- TopBar.tsx
- Captura de tela 2024-01-02 185544.png
- PlayerCard.tsx
- PlayerProfileCard.tsx
- PlayerSubmissionHistory.tsx
- Footer.tsx
- TrackCard.tsx
- Layout.tsx
- scylladb.ts
- [trackId].ts
- [playerId].ts
- get-players.ts
- list-tracks.ts
- [trackId].tsx
- [playerId].tsx
- 404.tsx
- _app.tsx
- _document.tsx
- index.tsx
- players.tsx
- globals.css
- Home.module.css
- index.d.ts
- blitz-client.ts
- setup.ts
- .env.example
- .gitignore
- next-env.d.ts
- next.config.js
- package-lock.json
- package.json
- README.md
- tsconfig.json
- vitest.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/scylladb/gaming-leaderboard-demo
Downloads the entire project code from GitHub to your computer.
cd gaming-leaderboard-demo
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm run migrate
Type this command into your terminal and run it.
npm run dev
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
