Coder Social home page Coder Social logo

peerperks's People

Contributors

chesleybrown avatar

Watchers

 avatar  avatar

peerperks's Issues

Points allowance

  • Add points_available_to_give to the user data model
  • Reduce user's points_available_to_give when they reward another user
  • Display points available to give on reward screen

Allow user to customize reward

Allow users to reward their peers with a customer number of points and message.

  • update template
  • update selectReward method to accept recipient, points and reason parameters

Fresh look

  • Keep only one bootstrap library in bower.json - remove unused css
  • Theme bootstrap
  • Update login page layout

Basic Admin

  • Add role to user model (read-only, except in firebase console)
  • Add boolean fulfilled field to reward (read-only, except in console)

Configurable authentication

Enable any combination of simple login, Google Accounts or GitHub authentication in the config file. At least one form of authentication must be enabled.

Access control rules

  • Ensure that only the logged in user can redeem rewards for themselves
  • Ensure that a user cannot alter their own points
  • Ensure that a user's points increase only when another user rewards them [atomically]
  • Ensure that a user's points decrease only when they redeem them for a gift [atomically]
  • Ensure only admin can modify reward options and perks

Refactor perk and reward directives

  • Upgrade Angular and Firebase dependencies
    • Resolve backwards compatibility issues
  • Separate templates from directive code
  • Rename perk directive to redeem to minimize confusion
    • corresponding wording changes in templates
  • Move creation/modification of reward options and redemptions to separate script (grunt?)

Email notification when rewarded

Create a light node web service to run on Heroku that monitors activity element and sends email notification when someone is rewarded.

Unit tests

  • Set up unit test framework
  • Unit test directive behaviour
  • Unit test security rules

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.