Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

RHS CS Practice Problem System (PPS)


Team members use this tool to solve questions and get points for solving them. Users select a practice problem from [UVa Online Judge](, copy and paste the problem into program, and run their solution through the program.

Feel free to use this in your setting too.



  • clone the repo
  • cd into the app directory
  • run npm install to install the dependancies
  • edit your settings.js file to have incorporate your Firebase keys
  • run npm start to start


This has all of your Firebase credentials. Maybe in the future, more customizable settings or plugins will come.

It should look like this:

window.settings = {
    authDomain: "",
    databaseURL: "",
    storageBucket: "",


Remember to save it as settings.js

Setting up Firebase

  • Go to
  • Click "Get started for free"
  • Create a new Firebase Project
  • Once in the dashboard, navigate to the Auth section
  • In the sign-in method tab, enable the "Email/Password" signin method. This is how cs-points authenticates the user
  • Now, go to the database section
  • Click on the rules tab, and add these rules
  "rules": {
    "users": {
      "$uid": {
        ".write": "$uid === auth.uid",
  • Now you're done!

Adding Featured Problems

cs-points allows you to feature problems and assign weight to the problem. To do this, go to the Firebase console and navigate to the database tab.

This is where you would add your featured problems. (Any collapsed item is automatically generated by the app)

Firebase Database Screenshot

To add a featured_problem click on the plus button on the root parent of the heirarchy

Firebase Database Screenshot

Then type featured_problems in the Name field and press the + button on the right Firebase Database Screenshot

Type a Unique ID for the problem in the Name field and press the plus button to add the child properties Firebase Database Screenshot

Featured problem properties:

  • unique ID
    • name - The exact name of the problem that is shown on UVa
    • url - The UVa URL of the problem
    • weight - The number of points given to the user if they solve the problem

PR's much appreciated


Point tracker for the RHS CS team (DEPRECATED: NOW USE CODESCRIM)




No releases published


No packages published