Home Reference Source Repository

CSE112Team12

Onboarding

Setup

git clone https://github.com/CSE112Spring17/CSE112Team12.git
cd CSE112Team12
npm install

Viewing Application

Development Flow

git checkout Dev
git pull
git checkout -b <branch_name>
git add .
git commit -m "<some_message>"
git push

Testing Flow

Writing Tests

Running Tests

Deployment Flow

Tips

Usage

IsValidPhoneNumber()

This function checks if the input value is a correctly entered phone number. The user will input a string, if it is a valid phone number, it will return "The phone number is valid". If not, it will return "The phone number is invalid".

SetFormat()

The user can set the accepting phone format by inputting an example. The format will be used for IsValidPhoneNumber().