Submitted by: Isaac Jimenez, Mahlet Birhanu, Matthieu Felker
Art by Macrovector / Freepik
The following required functionality is completed:
- Allow items to be chosen from a form.
- Display the items chosen and add and display the total cost.
- Allow more than one of each item to be purchased.
- Each item must have at least a name, description and price
- Disallow incorrect data and provide feedback, for example, when a user inputs a string, the data is not processed and the user is informed of the mistake.
- Changing the objects and their properties must change the form and totals in the form handler.
- Data for the food truck items must be stored in objects.
- Be built as nearly as possible to PSR-1 and PSR-2 standards.
The following optional features are implemented:
- Allows extras to be added to particular items (for example, $.25 cents for adding cheese, etc.)
Make sure git is installed by using git version
in terminal. If no version found, then install git
Windows, Using VSCode
- Navigation using powershell:
- Using VSCode, press CTRL + ` to open powershell terminal in current directory
- In terminal, place git command
- Navigation using mouse:
- In VSCode, right-click on desired directory file > Open in Integrated Terminal
Action | Git Command | Notes |
---|---|---|
Git Status | git status |
Lets you know if git has been initialized on file, branch info... etc. |
Git Clone | git clone <github-link> |
Clones project from github to local drive |
Check all branches | git branch -a |
Display all local and remote branches |
Create branch | git branch <branch-name> |
Will create a local branch with name |
Switch to branch | git checkout <branch-name> |
Will switch to branch |
Check branch location | git status |
Use this command often! Can help track changes to files and branch location |
Stage all file for commit | git add . |
Will stage all modified files, ready for commit |
Commit files | git commit -m "Added new file" |
Commits staged files with message |
Push local branch commits to remote branch | git push -u <remote> <branch name> |
Use origin to push your local branch commits to our main github remote |
Update local files to remote | git pull |
If you have any unsaved changes, make sure you deal with them before pulling |
Get all remote branches | git fetch origin |
Don't see other's branch, use this command |
Merge Branches | git merge <file-name> |
From your branch, merge main [^1] |