Skip to content

wathika-eng/wakatime_leaderboard

Repository files navigation

Rewrite of

To run the code, you need to have the following installed:

  • Node == 18

To get started:

  1. Clone the repository
git clone https://github.com/wathika-eng/wakatime_leaderboard --depth 1 && cd wakatime_leaderboard
  1. Install the dependencies
npm install && npm install --prefix frontend
  1. Build the frontend client
npm run build --prefix frontend

Change BaseURL in frontend/src/api/index.js to http://localhost:5000/api

  1. Run the code
npm run dev

Endpoints: http://localhost:5000/api

Original endpoint: https://wakatime.com/api/v1/leaders?country_code={KE}