Park Tennis Ladders (PTL) is a progressive web app for ranking tennis players that enables them to arrange and record match results.
Inspired by Local Tennis Leagues, we aim to provide a better match up of abilities and an opportunity to play more matches.
Players register with a self proclaimed ability level. They then can join a ladder of players.
Players are initially ranked on the ladder according to ability level. Advanced players at the top ranging down to beginners at the bottom of the ladder.
Players can challenge up to 5 places above them. If they win they leap frog the opponent, if they lose they maintain their position.
Downward challenges are allowed, however if the challenger wins there is no rank changed, but if the opponent wins they are promoted a place as reward.
Ladder rules can be configured (eg challenge range) in the admin.
PTL uses a number of open source projects to work properly:
- Node.js - Back-end JavaScript runtime environment
- npm - JavaScript package manager
- React - Frontend view
- Next.js - Server-side rendering for React
- Strapi - Open-source headless CMS.
- GraphQL - Data query and manipulation language for APIs
- Sentry - Error reporting platform
Request the .env files and dev database from DT ([email protected])
PTL requires Node.js v10+ to run.
Install the frontend dependencies and devDependencies and start the Next.js server.
cd park-tennis-ladder/frontend
npm i
npm run dev
Install the backend dependencies and devDependencies and start the Strapi server.
cd ../../park-tennis-ladder/backend
npm i
npm run develop
For use locally and on staging.
Email [email protected] Password G<Y84huI
Card Type Visa Card Number 4111111111111111
Want to contribute? Great!
We use Trellos for tasks, pick one and submit a pull request for code review.