Coder Social home page Coder Social logo

paired-be's Issues

Stats User Story

As a User,
When I visit my Account Details
And I click "View Stats"
Then I should be on /stats-profile

And I should see the following:

User Name
Total Bookings (total number of paired sessions)
Total Mentor Hours (time you spent mentoring, assume 1/2 hr. sessions)
Total Hours Mentored (time you spent being mentored, assume 1/2 hr. sessions)
List of Mentees

Make cards

Create cards for user stories and tasks

SMS Notifications

As a logged-in user,
when I click "Book a Pairing" in the navbar,
and when I select a program, module, and date for which a mentor is available,
and I click "Book Pairing" for a mentor's open time,
and the mentor has provided a phone number,
then the mentor/bookee will receive an SMS notification with:

  • the name of the mentee/booker
  • the date and time of the booking
  • and a link to view their schedule (https://www.paired.tech/schedule)

If the mentor has not provided a phone number,
then the mentor/bookee will receive an email notification with that same information.

Requires completion of:

Write Readme

Fill out the Readme with:

  • Local deployment
  • Dev team
  • History
  • Schema (PostgreSQL and GraphQL, with endpoint examples)
  • Architecture / Tech Stack

Create models and relationships

  • Create User model with self-referential foreign keys on Pairings
  • Create Pairings model
  • Create Skills model with relationship to Users

Profile Create Phone Number Field

As a visitor,
When I visit the root path,
And I authenticate using GitHub,
I see a form that includes a phone number field which is required.
When I fill in the form and input a valid 10 digit US phone number,
and click "Submit,"
then I'm taken to the schedule page.

When I fill in the form and input no phone number or incomplete phone number,
I am returned to the form
and I see a error message "You must provide a valid U.S. phone number."

Edit Profile Phone Number Field

As a logged-in user,
When I visit the root path,
And I click on my profile picture,
And I click on "Edit Profile,"
I see a form that includes a phone number field which is required.
When I fill in the form and input a valid 10 digit US phone number,
and click "Submit,"
then I'm taken to the schedule page.

When I fill in the form and input no phone number or incomplete phone number,
I am returned to the form
and I see an error message "You must provide a valid U.S. phone number."

Factory Bot

Add all resources to factory bot for testing

FE Query Updates

[ ] User Mutations - need to change user: { } to input: { } and wrap other mutation inputs in input: {}

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.