Coder Social home page Coder Social logo

coach-queue's Introduction

coachQ

Installation

Install dependencies

npm i

Setup environment

Check that your shell's NODE_ENV variable is set to development

echo $NODE_ENV

If this command prints development, you're all set to move to the next section.

If you need to edit your NODE_ENV:

atom ~/.zshrc for zshell or atom ~/.bashrc for bash and add the entry:

export NODE_ENV=development

Create your .env.development and .env.test files

Run the following commands on your terminal:

touch configuration/.env.development
touch configuration/.env.test
echo DATABASE_URL=postgres://`whoami`@localhost:5432/coach-queue-development >> configuration/.env.development``
echo DATABASE_URL=postgres://`whoami`@localhost:5432/coach-queue-test >> configuration/.env.test

Also add the following to your .env.development file for IDM authentication*

BASE_URL="http://coach-queue.learnersguild.dev"
IDM_BASE_URL="http://idm.learnersguild.dev"
JWT_PUBLIC_KEY="<same JWT_PUBLIC_KEY that is in your idm/.env.development>"

Setup Database

Install PostgreSQL

brew update

brew doctor

brew install postgresql

createdb coach-queue-test

createdb coach-queue-development

Migrations

Run latest migrations

npm run migrate:latest

Make a new migration

npm run migrate:make

Rollback to previous migration

npm run migrate:rollback

Run Tests

npm test


Run Coach Queue in development environment

Install IDM. Can be challenging.

mehserve run

Then, in a new shell, inside /idm,

nvm 5.6
npm start

Log into IDM at idm.learnersguild.dev

Then, in a new shell, inside /coach-queue,

npm run start:dev (uses nodemon)

coach-queue's People

Contributors

ameliavoncat avatar deadlyicon avatar devonwesley avatar dianavashti avatar ethanjstark avatar frankiefabuloso avatar jrob8577 avatar mantinone avatar mkleincreative avatar nicosesma avatar nodatall avatar punitrathore avatar rae-ralston avatar thamaranth avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coach-queue's Issues

add `/coach` command functionality

As a user logged into Echo Chat, when I issue a /coach command, it gives me a slideout

This command will list the names of active coaches` github handles

create API for coaches

GET /coaches/active - Fetches github handles + names of active coaches
POST /coaches/active - Sets coach to active. Coach's github handle is sent via params
POST /coach/inactive - Sets coach to inactive. Coach's github handle is sent via params

ability to request coach's time

/coach request [other team members’ github handles] is the command to request a coach.

  • Finds the first available 30 minutes slot and send out calendar invite and add to coach’s calendar.
  • Lets team members know in echo who the coach is and the time of the session.
  • Lets coach know in echo that new session is scheduled and who its with.
  • Optional time parameter for longer sessions.
  • It has to be at least two people requesting.
  • Include link to feedback forms in cal invite)

Duplicate appointments

Clicking schedule appointment rapidly creates duplicate entries in 'My Scheduled Appointments'

screen shot 2017-01-13 at 8 41 08 am

add auth to coach que

  1. add mehserve config for coach-que.learnersguild.dev at port 3000
  2. add passport auth to integrate with idm.learnersguild.dev
  3. look at idm-example for inspiration

fix webpack externals to work with testing.

The webpack externals option is not working with the test.:

when the ./go test command is ran the error below is the output.

module.js:472
    throw err;
    ^

Error: Cannot find module 'Config'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/JusDev/Documents/learnersguild-projects/coach-que/client/App.js:4:1)
    at Module._compile (module.js:571:32)
    at loader (/Users/JusDev/Documents/learnersguild-projects/coach-que/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/JusDev/Documents/learnersguild-projects/coach-que/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

limit number of meetings per day

I would like to limit the number of coach slots I have available per day. Coach queue has completely filled my schedule today and I am worried i will not have the bandwidth to support my OSS projects.

connect google calendar

issuing the command /coach active will first connect the coach's google calendar with the service. This will enable us to create events on the calendar

If the calendar is already connected, nothing will happen

cancel coaching session

While playing around with the service. I double clicked on Schedule me a coach - of course it worked yay! However.... I don't need it.

Could we allow a cancel appt button, besides me having to walk over and say - "No. I don't need our time anymore"?

Add ability to cancel appointments and notify

This is probably an epic:

  • As a learner, I want to be able to cancel an appointment, so that I can free up a time slot for other learners if my coaching issue has been resolved.
  • As a coach, I want to be able to cancel appointments, so that I can manage my calendar in the event that my availability has changed.
  • As a learner, I want my coaching session to be automatically rescheduled in the event it has been cancelled.

Analytics page

There metrics that can show us the health of coaching:

For the past seven days

_Total number of coaching sessions
_Total number of coaching sessions broken down by coach
_Longest wait time from coaching request to session time
_Average wait time from coaching request to session time
_Total number of different people that requested coaching sessions
_Average number of coaching sessions requested per person

There's an analytics page that calculates all the above. When calculating longest time and average times, it should not count evenings or weekends.

Coach dashboard

As a coach, I want to see a dashboard that displays my state in the system:

  • Clear indication of active/inactive
  • Upcoming appointments
  • Recent feedback feed (not sure if feedback is a feature yet, will be filing as a separate issue if not)
  • Ability to search all feedback
  • Coaching statistics:
    • Number of session completed this week
    • Average session time
    • Average wait time of folks scheduled with me

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.