Skip to content

Feedback #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 563 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
563 commits
Select commit Hold shift + click to select a range
fd26017
Attempted fix for mac issues
dolf321 Apr 8, 2023
834c0ea
finished login routing
ccczy-czy Apr 9, 2023
cc167c9
Merge branch 'user-story/7/task/108/login-routing' of https://github.…
ccczy-czy Apr 9, 2023
1468926
Merge pull request #154 from agiledev-students-spring-2023/user-story…
dianaYepes Apr 9, 2023
37d4450
adding routing
Apr 8, 2023
02437ed
fixing bugs
Apr 8, 2023
4403af9
rebasing
Apr 9, 2023
228e6ad
add-Members routing added
Apr 9, 2023
25853ef
merge conflicts
ccczy-czy Apr 9, 2023
ae64c37
updated code
Apr 9, 2023
bd92d6a
Merge remote-tracking branch 'origin/user-story/37/tasks/127/routing-…
Apr 9, 2023
3a9192f
Merge pull request #155 from agiledev-students-spring-2023/user-story…
ccczy-czy Apr 9, 2023
40c4a79
updated alerts
zion-off Apr 9, 2023
9ca8ae3
rebase in a new branch
jojo1042 Apr 9, 2023
9e48e4f
Merge pull request #156 from agiledev-students-spring-2023/user-story…
dolf321 Apr 9, 2023
750a07e
added rooms route to individual room pages
jojo1042 Apr 9, 2023
6349c8c
Merge branch 'master' into user-story/35/task/27/individual-rooms-but…
jojo1042 Apr 9, 2023
1aad515
Merge pull request #157 from agiledev-students-spring-2023/user-story…
zion-off Apr 9, 2023
db77fae
completed tests for alerts -- all passed
zion-off Apr 9, 2023
d871d0e
Merge pull request #158 from agiledev-students-spring-2023/user-story…
jojo1042 Apr 9, 2023
1f3e07e
home tests for routes and services
jojo1042 Apr 9, 2023
47cce6d
Merge branch 'master' of https://github.com/agiledev-students-spring-…
jojo1042 Apr 9, 2023
a22c675
Merge pull request #159 from agiledev-students-spring-2023/user-story…
zion-off Apr 9, 2023
bd7b72f
completed finances tests
zion-off Apr 9, 2023
1a3dfcb
Merge pull request #160 from agiledev-students-spring-2023/user-story…
dolf321 Apr 9, 2023
12b4f39
removed controller tests
zion-off Apr 9, 2023
0f8a9c6
Merge pull request #161 from agiledev-students-spring-2023/user-story…
dolf321 Apr 9, 2023
3bbbbbf
signup routing
Apr 9, 2023
1bfa79e
added routing
Apr 10, 2023
9a1e428
Fixed unit tests, removed file system usage
dolf321 Apr 10, 2023
d9dbb34
first edit
ccczy-czy Apr 10, 2023
086b593
Merge pull request #163 from agiledev-students-spring-2023/user-story…
zion-off Apr 10, 2023
9d5f897
Merge remote-tracking branch 'origin' into user-story/2/task/133/logi…
ccczy-czy Apr 10, 2023
32ad78e
fix style in room_header
ccczy-czy Apr 10, 2023
d867958
signup routing
Apr 9, 2023
e00aaca
added routing
Apr 10, 2023
c9d23af
adding changes
Apr 10, 2023
744425f
removing old json
Apr 10, 2023
3e3b771
login unit test add test data
ccczy-czy Apr 10, 2023
7604372
fix merge conflicts
ccczy-czy Apr 10, 2023
ea6a592
fix merge conflicts
ccczy-czy Apr 10, 2023
00e01b1
Merge pull request #162 from agiledev-students-spring-2023/user-story…
ccczy-czy Apr 10, 2023
f861b81
Merge remote-tracking branch 'origin' into user-story/2/task/133/logi…
ccczy-czy Apr 10, 2023
ac2a94b
some css changes
zion-off Apr 10, 2023
f99a4fc
Added project setup inst
dolf321 Apr 10, 2023
661065f
Merge pull request #165 from agiledev-students-spring-2023/spike/164/…
dianaYepes Apr 10, 2023
7f99913
Added important note for mac bug
dolf321 Apr 10, 2023
4b0db79
Added important note for mac bug
dolf321 Apr 10, 2023
7a8e053
Merge branch 'spike/164/improve-setup-documentation' of https://githu…
dolf321 Apr 10, 2023
b8f5d24
Merge pull request #166 from agiledev-students-spring-2023/spike/164/…
ccczy-czy Apr 10, 2023
84ffb1d
finish login unit test, fix home page warnings
ccczy-czy Apr 10, 2023
47e774e
fix home page warning
ccczy-czy Apr 10, 2023
de678ac
further css edits
zion-off Apr 10, 2023
15bec29
signup routing
Apr 9, 2023
5effb10
added routing
Apr 10, 2023
ba7c7ef
Fixed unit tests, removed file system usage
dolf321 Apr 10, 2023
002046e
adding changes
Apr 10, 2023
8294d74
removing old json
Apr 10, 2023
fe0abd9
Added project setup inst
dolf321 Apr 10, 2023
af3c10d
Added important note for mac bug
dolf321 Apr 10, 2023
fe45bb5
resolved conflicts
zion-off Apr 10, 2023
ba942bd
please merge
zion-off Apr 10, 2023
1beb71f
Merge pull request #167 from agiledev-students-spring-2023/user-story…
jojo1042 Apr 10, 2023
fb6963e
first edit
ccczy-czy Apr 10, 2023
32046dd
fix style in room_header
ccczy-czy Apr 10, 2023
f3817da
login unit test add test data
ccczy-czy Apr 10, 2023
e1c6d45
finish login unit test, fix home page warnings
ccczy-czy Apr 10, 2023
ed862c5
fix home page warning
ccczy-czy Apr 10, 2023
b6b58a9
fixed home
zion-off Apr 10, 2023
8bac3fc
Merge remote-tracking branch 'origin' into css-changes
ccczy-czy Apr 10, 2023
947ba41
completed
zion-off Apr 10, 2023
90cc027
fix room header color, fix task page warnings
ccczy-czy Apr 10, 2023
b452781
Merge branch 'css-changes' of https://github.com/agiledev-students-sp…
ccczy-czy Apr 10, 2023
9a716c5
settings update
zion-off Apr 10, 2023
02fef0b
fixed home page error
zion-off Apr 10, 2023
f0e3596
fixed settings page buttons
zion-off Apr 10, 2023
7360baa
settings update
zion-off Apr 10, 2023
c064395
FIX css for profile page
dolf321 Apr 10, 2023
d4c1702
changed profile edit button
zion-off Apr 10, 2023
ffaf83f
fixed settings page buttons
zion-off Apr 11, 2023
3598c21
settings update
zion-off Apr 11, 2023
6357c18
changed profile edit button
zion-off Apr 11, 2023
acffdfc
Merge branch 'Spike/168/frontend-changes' of https://github.com/agile…
dolf321 Apr 11, 2023
d453b6f
FIX profile css page
dolf321 Apr 11, 2023
2365d03
Merge pull request #169 from agiledev-students-spring-2023/Spike/168/…
dolf321 Apr 11, 2023
0ca6334
starting unit tests
Apr 10, 2023
e42ffc4
adding profile unit tests
Apr 11, 2023
21a2397
removing username editability, fixing settings warning
Apr 11, 2023
912046e
FIX readme for file structure
dolf321 Apr 12, 2023
9dfbc1f
ADD mongoose dependency and models folder
dolf321 Apr 12, 2023
0acc238
Removed garbage
dolf321 Apr 12, 2023
93693bb
Merge pull request #183 from agiledev-students-spring-2023/spike/182/…
dianaYepes Apr 12, 2023
c12fa08
ADD task list schema
dolf321 Apr 13, 2023
e4597e1
Model fixes
dolf321 Apr 15, 2023
45f830d
merge conflicts
ccczy-czy Apr 15, 2023
9a437a2
Merge pull request #191 from agiledev-students-spring-2023/user-story…
ccczy-czy Apr 15, 2023
95c3782
starting unit tests
Apr 10, 2023
dbf2301
adding profile unit tests
Apr 11, 2023
3535fc9
removing username editability, fixing settings warning
Apr 11, 2023
8e6ea88
FIX pointless log
dolf321 Apr 15, 2023
26daa45
CHG moved middleware functions to its own space
dolf321 Apr 15, 2023
5b8dabf
ADD express validation code and its unit tests
dolf321 Apr 15, 2023
16f4ceb
Merge branch 'master' into user-story/12/task/189/express-validation-…
dolf321 Apr 15, 2023
ed35279
Merge pull request #192 from agiledev-students-spring-2023/user-story…
dolf321 Apr 15, 2023
ba459c7
Merge remote-tracking branch 'origin/master' into user-story/37/tasks…
Apr 16, 2023
d32fa45
updating unit tests
Apr 16, 2023
ea8f642
fixing merge conflicts
Apr 16, 2023
4ae74f8
prof_info change
Apr 16, 2023
569f91f
Merge pull request #170 from agiledev-students-spring-2023/user-story…
jojo1042 Apr 16, 2023
f4b51b3
Revert "User story/37/tasks/147/profile unit tests"
dolf321 Apr 16, 2023
04832f5
Merge pull request #193 from agiledev-students-spring-2023/revert-170…
ccczy-czy Apr 16, 2023
1f1bb1a
ADD task connection to database
dolf321 Apr 16, 2023
2ea8f22
fix settings page warning
ccczy-czy Apr 16, 2023
2d4d51d
add user schema, fix setting page warning
ccczy-czy Apr 16, 2023
fac6224
Removed console logs/fixed some bugs
dolf321 Apr 16, 2023
b53186b
Merge pull request #194 from agiledev-students-spring-2023/user-story…
dolf321 Apr 16, 2023
b698f7c
Fixed env variables
dolf321 Apr 16, 2023
b0602db
FIX populated data for task page
dolf321 Apr 16, 2023
e05efd3
signups.json
dolf321 Apr 16, 2023
664c8ee
Use _id instead of id, baseline model files
dolf321 Apr 16, 2023
21efe89
Merge branch 'spike/195/cleanup-db&setup-baseline-model-files' of htt…
dolf321 Apr 16, 2023
5c4d0da
FIX id reference for id
dolf321 Apr 16, 2023
aa08c96
Slight fixes in _id
dolf321 Apr 16, 2023
7091a2a
signups.json
dolf321 Apr 16, 2023
eabad43
FIX id reference for id
dolf321 Apr 16, 2023
f4e464f
Slight fixes in _id
dolf321 Apr 16, 2023
906df00
Merge branch 'spike/195/cleanup-db&setup-baseline-model-files' of htt…
dolf321 Apr 16, 2023
782f419
FIX more id deps
dolf321 Apr 16, 2023
212800f
Merge pull request #197 from agiledev-students-spring-2023/spike/195/…
jojo1042 Apr 16, 2023
7efd529
ADD task connection to database
dolf321 Apr 16, 2023
409ecbf
Fixed env variables
dolf321 Apr 16, 2023
f62e76b
FIX populated data for task page
dolf321 Apr 16, 2023
30234cd
Merge branch 'user-story/8/task/176/db-for-tasks' of https://github.c…
dolf321 Apr 16, 2023
7ced42c
Fixes for id adapt
dolf321 Apr 16, 2023
6908a40
add methods to user model
ccczy-czy Apr 17, 2023
d6e0d39
merge conflicts
ccczy-czy Apr 17, 2023
6ce5c3f
done connecting login and signup page with database
ccczy-czy Apr 17, 2023
47065e6
Protected route removed temporarily
dolf321 Apr 17, 2023
3f59baa
protect home content
ccczy-czy Apr 18, 2023
91630df
fix merge conflict
ccczy-czy Apr 18, 2023
78fa955
Refactored based off new task schema structure
dolf321 Apr 18, 2023
a397568
Task service data
dolf321 Apr 18, 2023
336e4b0
finish jwt authentication and page protection
ccczy-czy Apr 18, 2023
238db59
Merge pull request #198 from agiledev-students-spring-2023/user-story…
dianaYepes Apr 18, 2023
d6376ed
FIX validation errors
dolf321 Apr 18, 2023
8ebe1d0
ADD task connection to database
dolf321 Apr 16, 2023
54e7c52
Fixed env variables
dolf321 Apr 16, 2023
14b24e9
FIX populated data for task page
dolf321 Apr 16, 2023
0182ec8
ADD task connection to database
dolf321 Apr 16, 2023
35a3bf1
Fixed env variables
dolf321 Apr 16, 2023
a692ea3
Fixes for id adapt
dolf321 Apr 16, 2023
913d2c8
Refactored based off new task schema structure
dolf321 Apr 18, 2023
b88295d
Task service data
dolf321 Apr 18, 2023
e9084e8
FIX validation errors
dolf321 Apr 18, 2023
7db6982
Merge branch 'user-story/8/task/176/db-for-tasks' of https://github.c…
dolf321 Apr 18, 2023
172803d
CHG dotenv vers
dolf321 Apr 19, 2023
6cb6b10
minor front end changes, adding rooms validation file
jojo1042 Apr 19, 2023
f704b26
ADD validation implementation
dolf321 Apr 19, 2023
7da559c
FIX changed data types
dolf321 Apr 19, 2023
7c401e1
FIX slight fix to query
dolf321 Apr 19, 2023
38c0bed
adding validation
jojo1042 Apr 19, 2023
4af906e
Merge branch 'user-story/35/task/204/home-validation' of https://gith…
jojo1042 Apr 19, 2023
1bb1dbe
Merge pull request #206 from agiledev-students-spring-2023/user-story…
dolf321 Apr 19, 2023
e936592
Merge pull request #205 from agiledev-students-spring-2023/user-story…
ccczy-czy Apr 19, 2023
39bcce1
adding old test
Apr 19, 2023
64a97d7
updating profile fields for db
Apr 19, 2023
90e15ec
CHG css for tasks&footer
dolf321 Apr 19, 2023
2ed67ca
Added filtering/sorting to the tasks page.
dolf321 Apr 20, 2023
3d9e659
.
dolf321 Apr 21, 2023
880d4ab
implementing db for rooms
jojo1042 Apr 21, 2023
a03d0ff
updating user schema, handling profile pic for users
Apr 22, 2023
caaa11c
removing comments
jojo1042 Apr 22, 2023
82b9ac0
Merge pull request #208 from agiledev-students-spring-2023/spike/207/…
ccczy-czy Apr 22, 2023
97015c8
seperating profile_pic for diff pages, fixing addMembers
Apr 23, 2023
eb2933b
Merge remote-tracking branch 'origin/master' into user-story/37/tasks…
Apr 23, 2023
fea1f63
profile_info data validation added
Apr 24, 2023
7a36419
Merge pull request #211 from agiledev-students-spring-2023/user-story…
ccczy-czy Apr 24, 2023
66714b4
fixing potential profile bug
Apr 24, 2023
b592803
Merge pull request #217 from agiledev-students-spring-2023/user-story…
jojo1042 Apr 26, 2023
60564d4
ADD finances and taks model to house
dolf321 Apr 28, 2023
784ee62
Added jwt auth system
dolf321 Apr 29, 2023
19bd4cb
ADD jwt auth to reqs
dolf321 Apr 29, 2023
1812364
File changes
dolf321 Apr 29, 2023
6cf60cf
implementing db for rooms
jojo1042 Apr 29, 2023
df367d1
removing comments
jojo1042 Apr 29, 2023
1cc3b24
ADD finances and taks model to house
dolf321 Apr 29, 2023
713e3bc
Added jwt auth system
dolf321 Apr 29, 2023
79c8400
ADD jwt auth to reqs
dolf321 Apr 29, 2023
44f050c
Merge branch 'user-story/35/task/181/home-db' of https://github.com/a…
dolf321 Apr 29, 2023
f6cf2b6
ADD tasks protected route
dolf321 Apr 29, 2023
c873d9f
ADD IndividualTask page & setting routes
dolf321 Apr 29, 2023
8a13ad1
FIX profile routes
dolf321 Apr 29, 2023
8e1f03d
ADD working individ task page
dolf321 Apr 29, 2023
24788f1
FIX profile page auth
dolf321 Apr 29, 2023
9fced9b
transaction database integration complete
zion-off Apr 30, 2023
dd85537
Merge pull request #210 from agiledev-students-spring-2023/user-story…
zion-off Apr 30, 2023
fe7b17d
finished alerts databse
zion-off Apr 30, 2023
8f01647
CHG minor code cleanup
dolf321 Apr 30, 2023
e148d93
FIX infinite rendering
dolf321 Apr 30, 2023
87e04b4
Merge pull request #225 from agiledev-students-spring-2023/user-story…
dolf321 Apr 30, 2023
9ef7005
username to userid for images
Apr 30, 2023
c676410
express validation, db for addMembers
May 1, 2023
d333755
Merge branch 'master' into user-story/37/tasks/215/express-and-db-add…
May 1, 2023
0ed99f2
add cookie route
ccczy-czy May 1, 2023
bbec6f5
Merge pull request #228 from agiledev-students-spring-2023/user-story…
ccczy-czy May 1, 2023
85821c4
Merge remote-tracking branch 'origin' into user-story/6/task/218/crea…
ccczy-czy May 1, 2023
8ee5ee6
add auth
ccczy-czy May 1, 2023
558abb9
fixed alerts
zion-off May 1, 2023
c9a343b
CHG minor code cleanup
dolf321 Apr 30, 2023
571d50e
FIX infinite rendering
dolf321 Apr 30, 2023
b50d830
Merge pull request #227 from agiledev-students-spring-2023/user-story…
ccczy-czy May 1, 2023
24b7ad4
fixed diana's error
zion-off May 1, 2023
3646a1e
Merge pull request #229 from agiledev-students-spring-2023/user-story…
dianaYepes May 1, 2023
ae806c2
resolve conflict
ccczy-czy May 1, 2023
24e3919
Merge pull request #230 from agiledev-students-spring-2023/user-story…
ccczy-czy May 1, 2023
4f3489d
push
zion-off May 1, 2023
9314d58
Merge branch 'master' into user-story/35/task/181/home-db
zion-off May 1, 2023
a2b8779
Merge pull request #231 from agiledev-students-spring-2023/user-story…
dianaYepes May 1, 2023
f86cf83
third attempt
zion-off May 1, 2023
955c181
css changes
zion-off May 1, 2023
9cca9ca
Revert "new pr"
dianaYepes May 1, 2023
b0179ef
Merge pull request #232 from agiledev-students-spring-2023/revert-231…
ccczy-czy May 1, 2023
1681f38
final css changes
zion-off May 1, 2023
c604a53
Merge pull request #233 from agiledev-students-spring-2023/final-fron…
dianaYepes May 1, 2023
5c870ca
remove comments
ccczy-czy May 2, 2023
b67f684
resolve merge conflict
ccczy-czy May 2, 2023
f3a8217
create color badge and reward badge
ccczy-czy May 2, 2023
fd6f8bf
Merge pull request #236 from agiledev-students-spring-2023/color-code…
dianaYepes May 2, 2023
4bc2bbe
Update README.md
dolf321 May 3, 2023
ce0f970
hoem page changes
zion-off May 3, 2023
08a4277
Merge pull request #237 from agiledev-students-spring-2023/dolf321-pa…
jojo1042 May 3, 2023
7703219
added lots of new css
zion-off May 3, 2023
c2e5db8
Fixed package dep
dolf321 May 3, 2023
c778c6d
fixed checkbox
zion-off May 3, 2023
e26be7b
push
zion-off May 3, 2023
2c60ab1
fixed checkbox
zion-off May 3, 2023
da31105
Merge pull request #239 from agiledev-students-spring-2023/deployed-c…
dolf321 May 3, 2023
c67446f
untrack files
dolf321 May 3, 2023
905f64a
gitignore
dolf321 May 3, 2023
e1989f1
Dependency files
dolf321 May 3, 2023
bb01c71
Dependency files
dolf321 May 3, 2023
4a6fe92
ADD room filter
dolf321 May 3, 2023
e498ee9
ADD reload page
dolf321 May 3, 2023
6d76f6d
ADD room fix
dolf321 May 3, 2023
3b23262
Sever lock
dolf321 May 3, 2023
cb15b49
FIX room page
dolf321 May 3, 2023
ab3655e
Merge branch 'deployment-server' of https://github.com/agiledev-stude…
dolf321 May 3, 2023
ba73839
Merge pull request #240 from agiledev-students-spring-2023/deployment…
jojo1042 May 3, 2023
198f90b
Update README.md because website is no longer live
ccczy-czy Jun 9, 2024
51f1e5b
Merge pull request #242 from agiledev-students-spring2023/ccczy-czy-p…
ccczy-czy Jun 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/event-logger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# DO NOT TOUCH THIS FILE!!!
name: log github events
on:
push:
branches: [main, master]
pull_request:
types: [opened, closed]
branches: [main, master]
jobs:
log:
runs-on: ubuntu-latest
env:
COMMIT_LOG_API: ${{ secrets.COMMIT_LOG_API }}
COMMITS: ${{ toJSON(github.event.commits) }}
REPOSITORY_URL: ${{ github.repositoryUrl }}
EVENT_TYPE: ${{ github.event_name }}
EVENT_ACTION: ${{ github.event.action }}
EVENT_USERNAME: ${{ github.actor }}
EVENT_EMAIL: "${{ github.event.pull_request.sender.email }}"
PR_MERGED: ${{ github.event.pull_request.merged }}
PR_CREATED_AT: ${{ github.event.pull_request.created_at}}
PR_CLOSED_AT: ${{ github.event.pull_request.closed_at}}
PR_MERGE_USER: ${{ github.event.pull_request.merged_by.login}}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # this is important so git fetches all history.. the actions/checkout by default fetches all history as one commit which throws off stats
- uses: actions/setup-python@v3
with:
python-version: "^3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --user pipenv
pipenv install pytz
pipenv install python-dateutil
pipenv install build
pipenv install requests
pipenv install gitcommitlogger
- name: Log pull request opened
if: github.event_name == 'pull_request' && github.event.action == 'opened'
run: |
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t pull_request_opened -d $(echo $PR_CREATED_AT) -un $(echo $EVENT_USERNAME) -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
- name: Log pull request closed and merged
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
run: |
echo $COMMITS > commits.json
cat commits.json # debugging
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t pull_request_merged -d $(echo $PR_CLOSED_AT) -un $(echo $PR_MERGE_USER) -i commits.json -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
- name: Log pull request closed without merge
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == false
run: |
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t pull_request_closed -d $(echo $PR_CLOSED_AT) -un $(echo $EVENT_USERNAME) -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
- name: Log push
if: github.event_name == 'push'
run: |
echo $COMMITS > commits.json
cat commits.json # debugging
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t $(echo $EVENT_TYPE) -i commits.json -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# zion's files #
update_repo.sh
pm2.config.json
package.json
package-lock.json
# Compiled source #
###################
*.com
Expand Down Expand Up @@ -39,6 +44,9 @@ Thumbs.db
# Typical Node.js artifacts #
#############################

#ignore lock file to reduce git log stats bloat
package-lock.json

# Logs
logs
*.log
Expand Down Expand Up @@ -123,4 +131,7 @@ typings/

## Jekyll artifacts
**/.jekyll-cache
**/_site/
**/_site/

## VScode
.vscode
80 changes: 78 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,78 @@
# Guide to Contributing
Delete the contents of this file and replace with the contents of a proper guide to contributing to this project, as described in the [instructions](./instructions.md)
# Team norms
## General team guidelines
- Join the Discord VC while working to boost productivity and speed up team interactions and communications.
- When you're stuck, **reach out** to the Scrum Master or team member. There's no harm in not knowing certain things.
## Sprint cadence
- Sprint length is 2 weeks
- Sprint planning meeting should be 1-2 hours in length.
- Backlog grooming meeting is at least once per sprint.
- When completing a task, put it in the review section of the board and reference the commit(just paste the commit hash) for the Scrum Master to review.
## Daily standups
- Daily standups must be done by the end of the day and submitted to the discord channel by the scrum master.
- Members must meet in person for 1-5 minutes for the standup meeting.
- Members that make no progress on a task for more than two standups get reported to management.

# Coding/Contributing guidelines
## Contributing Guide
- Never push broken code to main, make sure your code is working and tested. If you do push it, you must fix it immediately as to avoid assigning extra work to other teammates.
- Rarely push to the main branch, always branch and pull request your finished task to the Github. Only push to main if a change is really minor and wont cause significant merge conflicts.
- If the pull request is related to a completed task, always put the issue number in the pull request to make it easier for fellow developers to review.
- People assigned to review the pull request must actually read their code in order to ensure it follows team norms.

## Coding standards
- Use ES6Lint VS code extension for Javascript.
- Use Typescript when writing your code to avoid misunderstood data input types.
- Autoformat your code using `CTRL+SHIFT+I` before committing.
- Do not write short variable names whose names dont relate to their function and comment your functions.
- Write automated tests to cover critical integration points and functionality (once you learn how to do that).
- Make granular and small commits, per feature or per bug fix.
- Make short, straight to the point, yet descriptive commit messages.

## Coding standards - CSS
- Do not use unecessary amount of divs, instead use flexbox/grids when possible for more responsive design.
- Do not write unresponsive code(that doesn't adapt to size of container).
- Use variables for colors in CSS to make it easier to go back and edit if necessary.
### CSS Units
How to decide which unit to choose(general guidelines):
- Font-size = em
- Padding and margin = rem
- Width = em or %


# Project Setup

## Setup the IDE
1. Install VS code
2. Clone the repository using `git clone https://github.com/agiledev-students-spring-2023/final-project-bayt`.
3. Open the repo in VS code and download the following extensions:
- ESlint
- React Snippets
- GitGraph
- Gitlens

### Build and launch the database

- install and run [docker desktop](https://www.docker.com/get-started)
- create a [dockerhub](https://hub.docker.com/signup) account
- run command, `docker run --name mongodb_dockerhub -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=secret -d mongo:latest`

The back-end code will integrate with this database. However, it may be occasionally useful interact with the database directly from the command line:

- connect to the database server from the command line: `docker exec -ti mongodb_dockerhub mongosh -u admin -p secret`
- show the available databases: `show dbs`
- select the database used by this app: `use example-mern-stack-app`
- show the documents stored in the `messages` collection: `db.messages.find()` - this will be empty at first, but will later be populated by the app.

If you have trouble running Docker on your computer, use a database hosted on [MongoDB Atlas](https://www.mongodb.com/atlas) instead. Atlas is a "cloud"" MongoDB database service with a free option. Create a database there, and make note of the connection string. In the `.env` file within the `back-end` directory, replace the given `DB_CONNECTION_STRING` value with this one.

### Build and launch the back end

1. Navigate into the `back-end` directory
1. Run `npm ci` to install all dependencies listed in the `package.json` file.
1. Run `npm start` to launch the back-end server

### Build and launch the front end

1. Navigate into the `front-end` directory
1. Run `npm ci` to install all dependencies listed in the `package.json` file.
1. Run `npm start` to launch the React.js server
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,39 @@
# Project Repository
# Bayt - A shared housing app
## ~~Website deployed!~~ (Currently Unavaliable)
Link: `http://www.baytmatesfor.life/`

## Product Vision Statement
We foresee our **Minimum Viable Product(MVP)** as one that makes the issue of accountability and delegation of responsibility in shared accommodations significantly easier than without the app. The product in essence should solve issues in shared accountability through **quick** generation or writing of tasks required based on rooms in the house. The signup process of the app must be incredibly easy if not non-existent in order to encourage ease of use. Roommates should also be able to at least share and keep track of some form of shared purchases made for the dorm such as furniture and kitchen items. The app should provide more value than the energy needed to use it and set it up to encourage people with busy schedules to use it and see it as a tool that saves time rather than wastes.

## What and why?
When living in shared accomodations, it becomes difficult to delegate house chores, decide grocery options, and split finances for shares household purchases. Purchases such as that mop you might've bought for everybody to clean the residence or that air fryer you bought and decided to split the payment for. With the IOS app Bayt, you can view who's purchased what, and decide how payment should be handled such as one roommate buying the toilet paper next time or just paying outright cash. You should also be able to generate grocery lists that just make sense, based off meal preferences and dietary restrictions of your roommates. Another important feature is to draft living agreements that arent 200 lines long and straight to the point. In summary, Bayt should make living with people much easier by tackling those common issues across roommates.

## For whom?
The main users would be students in dormitories, families that work together to take care of their home, or anyone that has shared accomodation. This might also be useful for property managers to manage shared housing when it comes to agreements and disputes.

## How?
- Payment management
- Chore scheduling
- Alerts for tasks

## Who are we?
- JoJo Yang: https://github.com/jojo1042
- Rami Richani: https://github.com/dolf321
- Diana Yepes: https://github.com/dianaYepes
- Zander Chen: https://github.com/ccczy-czy
- Atib Jawad Zion: https://github.com/zion-off

## Setup instructions
- [Frontend setup](./front-end/README.md)
- [Backend setup](./back-end/README.md)

PLease note if you are facing any issues connecting to the Backend from the Frontend on **Mac** do the following:
- Enter the frontend directory.
- Delete its node_modules folder.
- Run `npm install`.
- Then restart your computer.

## Project Repository

This repository will be used for team projects.

Expand All @@ -17,3 +52,4 @@ Several sets of instructions are included in this repository. They should each b
1. See the [Database Integration instructions](./instructions-3-database.md) for the requirements of integrating a database into the back-end.

1. See the [Deployment instructions](./instructions-4-deployment.md) for the requirements of deploying an app.

27 changes: 22 additions & 5 deletions UX-DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# User Experience Design

This repository contains instructions and files for two assignments that together comprise the user experience design phase of a web app.
<h1 align="center">Bayt UX Design</h1>

# Prototype
The Figma prototype link for the Bayt app is <a align="center" href="https://www.figma.com/proto/rs9sNV0nIGotnT7L5qq2jz/Bayt?node-id=178%3A530&scaling=scale-down&page-id=0%3A1&starting-point-node-id=178%3A530&show-proto-sidebar=1">here.</a>

# App Map
<img src="ux-design/App_Map.png"/>
<br><br>

# Wireframe Diagrams

| UX-Wireframe | Description |
| --- | --- |
| <img src="ux-design/Login.png"/><br><i>Login Page</i>| This is the initial login page, it prompts for users to enter a username and the house code they belong to login rather than a standard password. For now we assume house codes are assigned to appropriate users and this will be addressed in the future.|
| <img src="ux-design/Home.png"/><br><i>Home Page</i>| This is the home page in which the user can view all available rooms in the house and add rooms. In the top right you have a profile icon and the footer contains the navigation bar with all the pages. The house name in the header or "Ravenclaw" represents the house name in which the user had been assigned to. |
| <img src="ux-design/Room_Template.png"/><br><i>Room Template Page</i>| This shows the room and the tasks assigned to the room with a button to take you back to the Home page in which you selected the room. The task bars are buttons that will lead you to the Individual Task Page in which the user can edit/modify tasks. Also the square buttons on the left mark the task as complete or not.|
| <img src="ux-design/Tasks.png"/><br><i> Tasks Page</i>| This collectively shows all the tasks with the task buttons and the checkmark as stated in the previous description. The filter button allows you to filter task based on criterea such as date or room the task is assigned to, if any at all. The sort button allows you to sort in Chronological order to choose most recently due tasks or not. |
| <img src="ux-design/Individual_Task_Page.png"/><br><i> Indiviual Task Page</i>| This shows the task details in which you can modify information relating to the task such as the date or time in which it is due to be completed. |
| <img src="ux-design/Finances.png"/><br><i> Finances Page</i>| This page allows users to communicate and keep track of shared purchases in the living space. |
| <img src="ux-design/Profile.png"/><br><i> Profile Page</i>| This page allows users to edit their profile details. |
| <img src="ux-design/Alerts.png"/><br><i> Alerts Page</i>| This is the page to which the user gets notified of near tasks that they are responsible for and the user is led to this page through the footer or through notification.|
| <img src="ux-design/Settings.png"/><br><i> Settings Page</i>| Allows the user to modify the house details such as name, view whose in their housing group, and log out of their account if needed.|

Replace the contents of this file with the completed assignments, as described in:

- [app map & wireframe instructions](instructions-0a-app-map-wireframes.md).
- [prototype instructions](instructions-0b-prototyping.md)
38 changes: 38 additions & 0 deletions back-end/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Backend File Structure
.
├── src/ # Contains the main application code
│ ├── controllers/ # Contains controller functions for handling requests
│ ├── middleware/ # Contains middleware functions for processing requests and responses
│ ├── models/ # Contains data models for interacting with the database
│ ├── routes/ # Contains route definitions and handlers
│ ├── services/ # Responsible for querying the database
│ ├── json/ # Contains json files
│ ├── app.js # Main Express.js application file
│ ├── configs/ # Configuration files for the application
│ └── validations/ # Backend calls validations
│── test/ # Contains unit tests for the application
│ ├── controllers/ # Contains unit tests for controller functions
│ ├── middleware/ # Contains unit tests for middleware functions
│ ├── models/ # Contains unit tests for data models
│ ├── routes/ # Contains unit tests for route handlers
│ ├── utils/ # Contains unit tests for utility functions and modules
│ └── setup.js # Setup file for running tests
├── node_modules/ # Contains all installed node modules
├── package.json # Contains metadata about the project and its dependencies
└── README.md # Contains documentation for the project

# Deploying Instructions

Run `npm install` when in this directory before running any other command.

### `npm start`

Used to initialize the backend with nodemon.

### `npm test`

Used to run the Mocha Unit Tests of the system.

### `npm coverage`

Used to run the unit tests as well as show code coverage using Istanbul(nyc).
36 changes: 36 additions & 0 deletions back-end/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "back-end",
"version": "1.0.0",
"description": "The back-end of your project will live in this directory.",
"main": "./src/server.js",
"scripts": {
"start": "export NODE_ENV=production || set NODE_ENV=production&& nodemon ./src/server.js",
"test": "export NODE_ENV=test || set NODE_ENV=test&& npx mocha --recursive",
"coverage": "export NODE_ENV=test || set NODE_ENV=test&& npx nyc npm test"
},
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.20.2",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.18.2",
"express-validator": "^7.0.0",
"istanbul": "^0.4.5",
"mongoose": "^7.0.3",
"cookie-parser": "^1.4.5",
"passport": "^0.5.0",
"passport-jwt": "^4.0.0",
"bcryptjs": "^2.4.3",
"multer": "^1.4.5-lts.1"
},
"devDependencies": {
"mocha": "^10.2.0",
"nodemon": "^2.0.21",
"nyc": "^15.1.0",
"sinon": "^15.0.3",
"supertest": "^6.3.3"
}
}
3 changes: 0 additions & 3 deletions back-end/readme.txt

This file was deleted.

Loading
Loading