Skip to content
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

Feedback #1

Open
wants to merge 333 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
b887fe9
Made refactoring changes so that createpost and editpost look more si…
wengf2086 Apr 4, 2023
acd2b20
Made styling changes to login and register pages
wengf2086 Apr 4, 2023
0579059
Minor styling changes
wengf2086 Apr 4, 2023
7ecf230
Merge pull request #77 from agiledev-students-spring-2023/refactoring…
victoriacarroll323 Apr 4, 2023
170bf85
serve diner request data route
andrew0022 Apr 5, 2023
a5dab67
fixed post to request
andrew0022 Apr 5, 2023
af08271
Merge pull request #78 from agiledev-students-spring-2023/diner-reque…
wengf2086 Apr 5, 2023
5499d5a
mockaroo api for chat data
victoriacarroll323 Apr 6, 2023
9609dad
Merge remote-tracking branch 'origin' into chat-mock-data
victoriacarroll323 Apr 6, 2023
cdadb2c
chat data
victoriacarroll323 Apr 6, 2023
2fbb00c
chat data from mockaroo
victoriacarroll323 Apr 6, 2023
73e7bf0
login/register/profile form edits
clairekguo Apr 6, 2023
87fee2a
Merge pull request #80 from agiledev-students-spring-2023/edit-profil…
wovensoul Apr 6, 2023
5bb8469
Fixed some dependency issues
wengf2086 Apr 7, 2023
ba114e3
I DID IT! (successfully integrated google maps api)
wengf2086 Apr 7, 2023
6211b34
forgot to do git add . ...
wengf2086 Apr 7, 2023
8edf368
install popup
clairekguo Apr 8, 2023
d139908
basic popup
clairekguo Apr 9, 2023
2081977
popup with other user profile
clairekguo Apr 9, 2023
4c99a44
profile pic stockimage deadlink -- updated
clairekguo Apr 9, 2023
1009b19
Merge pull request #81 from agiledev-students-spring-2023/integrating…
clairekguo Apr 9, 2023
d4cb739
Merge remote-tracking branch 'origin/master' into user-popup
clairekguo Apr 9, 2023
0fa316d
popup with other user profile added to home-lfd page; extra files del…
clairekguo Apr 9, 2023
24de0ca
Merge pull request #82 from agiledev-students-spring-2023/user-popup
wovensoul Apr 9, 2023
f896168
can add profile pic with edit button
andrew0022 Apr 9, 2023
28f962e
Updated map to get place information when a place is selected
wengf2086 Apr 9, 2023
7bd9723
Created back-end route to serve restaurant data from Google Maps API
wengf2086 Apr 9, 2023
b4db734
restaurant info now fetches restaurant info from backend
wengf2086 Apr 10, 2023
09ac981
Updated home page to direct to restaurant info page. Woo
wengf2086 Apr 10, 2023
76aa13f
Merge pull request #84 from agiledev-students-spring-2023/updating_map
wovensoul Apr 10, 2023
5032f49
Merge pull request #83 from agiledev-students-spring-2023/user-story/…
wengf2086 Apr 10, 2023
a351c5e
chat data mockaroo
victoriacarroll323 Apr 10, 2023
4117270
fetch messages
victoriacarroll323 Apr 10, 2023
6da1f8c
fetch data from mockaroo api
victoriacarroll323 Apr 10, 2023
78d5879
editing of data from mockaroo chat schema
victoriacarroll323 Apr 10, 2023
99805f1
edits
victoriacarroll323 Apr 10, 2023
b2ef87f
deletes
victoriacarroll323 Apr 10, 2023
79898b0
fixed some errors
victoriacarroll323 Apr 10, 2023
82da75e
Removed / route for back-end and installed dependencies for unit testing
wengf2086 Apr 10, 2023
29136c3
Added unit test for user data
wengf2086 Apr 10, 2023
558e68a
router added for create-post
wovensoul Apr 10, 2023
616251a
Merge remote-tracking branch 'origin' into post-request-routes
wovensoul Apr 10, 2023
a5884fd
Installed dependency and made finishing touches to test code
wengf2086 Apr 10, 2023
1c004fd
Merge pull request #86 from agiledev-students-spring-2023/post-reques…
wengf2086 Apr 10, 2023
1f0392f
Merge branch 'master' into setting-up-unit-tests
wengf2086 Apr 10, 2023
8723f34
Merge pull request #87 from agiledev-students-spring-2023/setting-up-…
wovensoul Apr 10, 2023
2fae98e
Removed stuff from unit tests
wengf2086 Apr 10, 2023
4678d0f
Merge pull request #88 from agiledev-students-spring-2023/edit-unit-t…
wovensoul Apr 10, 2023
406d912
Merge branch 'master' into chat-mock-data
wengf2086 Apr 10, 2023
3edee9e
Merge pull request #85 from agiledev-students-spring-2023/chat-mock-data
wengf2086 Apr 10, 2023
b7424cc
unit test
andrew0022 Apr 10, 2023
6d0a259
Merge remote-tracking branch 'origin/master' into unit-test-diner
andrew0022 Apr 10, 2023
1080647
added router for edit-post
wovensoul Apr 10, 2023
e49cb23
Merge remote-tracking branch 'origin/master' into post-request-routes
wovensoul Apr 10, 2023
b1c1eaa
Merge pull request #89 from agiledev-students-spring-2023/unit-test-d…
victoriacarroll323 Apr 10, 2023
71e2a45
Merge pull request #90 from agiledev-students-spring-2023/post-reques…
wengf2086 Apr 10, 2023
e21f578
fixed error in back-end/app.js
wengf2086 Apr 10, 2023
ba52a45
Merge remote-tracking branch 'origin/master' into backend-server-fix
wengf2086 Apr 10, 2023
80f6e96
Merge pull request #91 from agiledev-students-spring-2023/backend-ser…
wovensoul Apr 10, 2023
6c26245
added unit test for diner post; added loging, register, and profile r…
clairekguo Apr 10, 2023
8f56a11
combined inbox and chats
wovensoul Apr 10, 2023
efe07e0
Merge remote-tracking branch 'origin/master' into inbox-chat-user-com…
wovensoul Apr 10, 2023
a3f3ccb
Merge pull request #93 from agiledev-students-spring-2023/inbox-chat-…
wengf2086 Apr 10, 2023
421cad2
Merge branch 'master' of https://github.com/agiledev-students-spring-…
clairekguo Apr 10, 2023
0148867
Merge pull request #92 from agiledev-students-spring-2023/unit-test-a…
wengf2086 Apr 10, 2023
0a85341
Added styling for new home page
wengf2086 Apr 10, 2023
dcd6223
reworked inbox, toggleable chats
wovensoul Apr 10, 2023
b37cdc6
Merge remote-tracking branch 'origin/master' into inbox-chat-user-com…
wovensoul Apr 10, 2023
bab0c16
Merge pull request #94 from agiledev-students-spring-2023/inbox-chat-…
wengf2086 Apr 10, 2023
079529a
Updated error handling to fetch static sample data for back-end
wengf2086 Apr 10, 2023
ec98c24
Updated static sample data to have randomly generated id
wengf2086 Apr 10, 2023
dc87c2a
Updated createpost.js to redirect to '/home-lfd'
wengf2086 Apr 10, 2023
722e755
Updated home-lfd to fetch data from backend
wengf2086 Apr 10, 2023
50844f8
Fixed post buttons and updated read me to include build info
wengf2086 Apr 10, 2023
fb5eb14
Updated home page to include instructions
wengf2086 Apr 10, 2023
495b6b3
Merge remote-tracking branch 'origin/master' into serving_backend_dat…
wengf2086 Apr 10, 2023
ec1ae6f
Merge pull request #95 from agiledev-students-spring-2023/serving_bac…
wovensoul Apr 10, 2023
541dcbf
added new chat components
wovensoul Apr 10, 2023
ca945aa
Merge pull request #96 from agiledev-students-spring-2023/inbox-chat-…
wengf2086 Apr 19, 2023
1bbf49d
Changed default port for back-end
wengf2086 Apr 19, 2023
91e450f
Updated all pages to fetch server and port from .env instead of using…
wengf2086 Apr 19, 2023
ec1552b
Fixed newlines and quotations appearring in sample data
wengf2086 Apr 19, 2023
ef8fa5d
Added loading messages
wengf2086 Apr 19, 2023
3b55728
Merge pull request #97 from agiledev-students-spring-2023/back-and-fr…
wovensoul Apr 19, 2023
cb70eb8
Began registration implementation
wengf2086 Apr 19, 2023
6ff64fb
Merge remote-tracking branch 'origin/master' into begin-login-registe…
wengf2086 Apr 19, 2023
a5b46f5
Merge pull request #98 from agiledev-students-spring-2023/begin-login…
wovensoul Apr 19, 2023
7435bc9
TEST COMMIIT
wengf2086 Apr 21, 2023
1158e1a
Merge remote-tracking branch 'origin/master' into begin-login-registe…
wengf2086 Apr 21, 2023
4d117d1
Merge pull request #99 from agiledev-students-spring-2023/begin-login…
shradhaiyer Apr 21, 2023
1387dff
modified registration page and completed post request for registration
wengf2086 Apr 23, 2023
ab27c7e
Temporarily remove /profile route in NavBar and remove 'or Username' …
wengf2086 Apr 23, 2023
74a62b9
Completed post request handling for login
wengf2086 Apr 23, 2023
8d208fa
updated post request for login to create and return a jwt instead of …
wengf2086 Apr 23, 2023
2fb4128
unrelated: fixed warning on home page
wengf2086 Apr 23, 2023
7857429
added jsonwebtoken as package to frontend
wengf2086 Apr 23, 2023
843ec15
Reinstalled jsonwebtoken
wengf2086 Apr 23, 2023
af455fe
uninstalled god awful combobox package that was breaking everything
wengf2086 Apr 23, 2023
b4aaf5e
Merge remote-tracking branch 'origin/master' into login-register-auth…
wengf2086 Apr 23, 2023
72c626b
Merge pull request #100 from agiledev-students-spring-2023/login-regi…
wovensoul Apr 23, 2023
9350898
All pages now redirect to login except for the register page, unless …
wengf2086 Apr 23, 2023
349fc1b
Updated login and register pages to use axios instance
wengf2086 Apr 23, 2023
fe86d08
Made restaurant info unprotected to fix error
wengf2086 Apr 23, 2023
1330cbe
Merge pull request #101 from agiledev-students-spring-2023/continue-a…
wovensoul Apr 23, 2023
85f3ca8
fix register
wengf2086 Apr 23, 2023
136f110
Merge pull request #102 from agiledev-students-spring-2023/minor-regi…
andrew0022 Apr 23, 2023
b6ac1fa
add post schema
clairekguo Apr 23, 2023
98d4e40
create post adds to DB
clairekguo Apr 24, 2023
8170df0
Merge pull request #103 from agiledev-students-spring-2023/post-schema
victoriacarroll323 Apr 24, 2023
4729671
fix db
clairekguo Apr 24, 2023
9ba41b0
Merge pull request #104 from agiledev-students-spring-2023/fix
wengf2086 Apr 24, 2023
96192ec
removed old user data routes in backend
wengf2086 Apr 24, 2023
25fe492
Changed handleSubmit in register.js to submit a copy of form data to …
wengf2086 Apr 24, 2023
b2c8a44
save data in db
victoriacarroll323 Apr 24, 2023
a37dae7
Edits
victoriacarroll323 Apr 24, 2023
cbda6ba
edits
victoriacarroll323 Apr 24, 2023
177c78f
Merge pull request #105 from agiledev-students-spring-2023/send-fetch…
andrew0022 Apr 24, 2023
5afbcc7
Created back-end route to serve logged-in user data
wengf2086 Apr 24, 2023
43b00dc
Merge remote-tracking branch 'origin/master' into serve-logged-in-use…
wengf2086 Apr 24, 2023
c8b3537
Merge pull request #106 from agiledev-students-spring-2023/serve-logg…
andrew0022 Apr 24, 2023
1544b04
restaurant info in post
clairekguo Apr 24, 2023
5078ca7
Merge remote-tracking branch 'origin/master' into more-post-stuff
clairekguo Apr 24, 2023
fd919cb
Merge pull request #107 from agiledev-students-spring-2023/more-post-…
wengf2086 Apr 24, 2023
9db9c34
fixed
wengf2086 Apr 24, 2023
f9fca6a
Merge pull request #108 from agiledev-students-spring-2023/fix
clairekguo Apr 24, 2023
de77357
relocated login and register button
andrew0022 Apr 24, 2023
2a80fe6
Merge pull request #110 from agiledev-students-spring-2023/fixButtonL…
wengf2086 Apr 24, 2023
56c4a4e
change chat format
andrew0022 Apr 24, 2023
663dba5
remove block user css
andrew0022 Apr 24, 2023
e0f741a
format
andrew0022 Apr 24, 2023
fd43027
Merge remote-tracking branch 'origin/master' into format
andrew0022 Apr 24, 2023
b34aa33
created patch request route
wengf2086 Apr 24, 2023
75186ce
Merge pull request #112 from agiledev-students-spring-2023/implement-…
wovensoul Apr 24, 2023
f9f16dc
styling: removed top margin for content
wengf2086 Apr 24, 2023
4beacd0
added mock data and new api routes
wovensoul Apr 24, 2023
bfc66ad
Merge pull request #113 from agiledev-students-spring-2023/user-story…
wengf2086 Apr 24, 2023
da96052
Updated home page to show restaurant information
wengf2086 Apr 24, 2023
6f570b4
Merge pull request #111 from agiledev-students-spring-2023/format
wengf2086 Apr 24, 2023
eba393f
renders chat names in inbox from mock data
wovensoul Apr 24, 2023
dcc931b
Merge remote-tracking branch 'origin/master' into user-story/37/user-…
wovensoul Apr 24, 2023
31fcd8a
Merge pull request #114 from agiledev-students-spring-2023/user-story…
wengf2086 Apr 24, 2023
f72a647
Add post display logic to home page
wengf2086 Apr 24, 2023
6071d82
created message and chat schemas
wovensoul Apr 24, 2023
9499c4b
Merge remote-tracking branch 'origin/master' into user-story/37/user-…
wovensoul Apr 24, 2023
3b78a9c
Merge pull request #115 from agiledev-students-spring-2023/user-story…
wengf2086 Apr 24, 2023
2dfe4ba
forgot to export Message model
wovensoul Apr 24, 2023
d3b954c
Revert "forgot to export Message model"
wovensoul Apr 24, 2023
cd957e2
forgot to export Message model
wovensoul Apr 24, 2023
4525eee
Merge pull request #116 from agiledev-students-spring-2023/user-story…
wengf2086 Apr 24, 2023
e3a0db6
Modified create-post
wengf2086 Apr 24, 2023
b5c2658
Updated home page to basically include restaurant info
wengf2086 Apr 24, 2023
2f78ab2
Merge remote-tracking branch 'origin/master' into combine-home-pages-…
wengf2086 Apr 24, 2023
6bef570
Capitalized mongoose model names
wengf2086 Apr 24, 2023
ec395ea
Merge pull request #117 from agiledev-students-spring-2023/combine-ho…
clairekguo Apr 24, 2023
922111e
bug fix
clairekguo Apr 24, 2023
5898237
changes
victoriacarroll323 Apr 24, 2023
c18a86f
Merge pull request #120 from agiledev-students-spring-2023/editbranch
victoriacarroll323 Apr 24, 2023
9fac258
logout adn display profile
clairekguo Apr 24, 2023
70b98eb
edit-profile
clairekguo Apr 25, 2023
28efe29
Merge branch 'master' into popup-bug
clairekguo Apr 25, 2023
43673c5
Merge pull request #118 from agiledev-students-spring-2023/popup-bug
clairekguo Apr 25, 2023
01b2821
added chaining operator to editorial summary in back-end
wengf2086 Apr 30, 2023
fab970b
Modified formatting for restaurant rating and price level on home page
wengf2086 Apr 30, 2023
5cc074c
Modified restaurant info formatting and added logic to display a mess…
wengf2086 Apr 30, 2023
dda7a3c
Created schema for requests
wengf2086 Apr 30, 2023
a03c556
Added logic to display different message on home page if restaurant i…
wengf2086 Apr 30, 2023
6dc1e31
Added logic for requests
wengf2086 Apr 30, 2023
598b32d
Changed formatting for date and time for posts
wengf2086 Apr 30, 2023
c65b545
create requests array for user and add request to it
wengf2086 Apr 30, 2023
1201be4
add new request to requester and post objects in mongodb
wengf2086 Apr 30, 2023
41e012c
Merge pull request #122 from agiledev-students-spring-2023/merge-home…
wovensoul Apr 30, 2023
8ab9d4b
Added home and requests to navbar
wengf2086 Apr 30, 2023
b221e6c
Archived some pages
wengf2086 Apr 30, 2023
47da445
Moved unused pages to unused folder
wengf2086 Apr 30, 2023
6df1767
Re-named new_home to home
wengf2086 Apr 30, 2023
4ea45f0
Re-named post.css to createpost.css
wengf2086 Apr 30, 2023
b6b5f43
Display username instead of Profile in navbar
wengf2086 Apr 30, 2023
3fbdd6c
Merge pull request #123 from agiledev-students-spring-2023/implement-…
wovensoul Apr 30, 2023
6bb7036
Added optional chaining operator
wengf2086 Apr 30, 2023
4e95db8
delete post
clairekguo May 1, 2023
242d9d7
display requests
clairekguo May 1, 2023
3f0f31b
accept/decline btns
clairekguo May 1, 2023
c2284a3
delete-post: delete from other user requests
clairekguo May 1, 2023
4f68083
Merge pull request #124 from agiledev-students-spring-2023/home-lfd
wengf2086 May 1, 2023
c942844
Merge remote-tracking branch 'origin/master' into implement-request-l…
wengf2086 May 1, 2023
4bab9e4
Merge pull request #125 from agiledev-students-spring-2023/implement-…
wovensoul May 1, 2023
65af60d
Fixed username display in NavBar
wengf2086 May 1, 2023
ea9845f
Fixed diner post display
wengf2086 May 1, 2023
9331ff5
Create post redirects to home, home changes to homeLFD when there is …
wengf2086 May 1, 2023
5e204a4
updated /user/:userId to populate uer field
wengf2086 May 1, 2023
ce8626e
broke something
wengf2086 May 1, 2023
384fd67
Revert "updated /user/:userId to populate uer field"
wengf2086 May 1, 2023
c4c9308
Refresh when login/logout
wengf2086 May 1, 2023
575737f
Display post on home-lfd
wengf2086 May 2, 2023
620f65c
Display request info on home-lfd
wengf2086 May 2, 2023
072de38
Merge pull request #126 from agiledev-students-spring-2023/implement-…
clairekguo May 2, 2023
b270799
added api request to fetch users
wovensoul May 2, 2023
c624e6f
Merge pull request #127 from agiledev-students-spring-2023/user-story…
wengf2086 May 2, 2023
983a40d
prettier formatted back-end
wovensoul May 2, 2023
8519b2f
Merge remote-tracking branch 'origin/master' into user-story/37/user-…
wovensoul May 2, 2023
21878fd
added chat context
wovensoul May 2, 2023
7aa8ffe
added logic to fetchChats
wovensoul May 2, 2023
0e3d50b
character limit for posts
victoriacarroll323 May 2, 2023
3f029e1
Merge pull request #129 from agiledev-students-spring-2023/user-story…
victoriacarroll323 May 2, 2023
fefdf25
updated homepage css to look good on mobile as well as desktop
victoriacarroll323 May 2, 2023
0d0737a
update css for login page to look good on mobile as well as desktop
victoriacarroll323 May 2, 2023
d1adf22
update css on profile page to look good on mobile as well as desktop
victoriacarroll323 May 2, 2023
c2f1c3e
update css for createpost page to make sure styling is good on mobile…
victoriacarroll323 May 2, 2023
5f89abc
update css for inbox page to make sure styling is good for mobile as …
victoriacarroll323 May 2, 2023
14d83f1
update css for chat page to make sure styling is good for mobile as w…
victoriacarroll323 May 2, 2023
d68e08a
update css for navbar to make sure its good for mobile as well as des…
victoriacarroll323 May 2, 2023
8b32ecf
Merge pull request #130 from agiledev-students-spring-2023/post-chara…
wengf2086 May 2, 2023
44965a4
Merge pull request #132 from agiledev-students-spring-2023/update-css…
wengf2086 May 2, 2023
7f0fc71
Added DinnerDate schema
wengf2086 May 2, 2023
f1c338c
Updated delete-post to delete all references to related requests
wengf2086 May 2, 2023
883ecd1
Added date page
wengf2086 May 2, 2023
2bfb245
Display restaurant information on home-lfd
wengf2086 May 2, 2023
f6c81aa
implemented date page and get directions button
wengf2086 May 2, 2023
714d6b4
Implemented delete post
wengf2086 May 2, 2023
0daf768
Merge pull request #133 from agiledev-students-spring-2023/actually-i…
wovensoul May 3, 2023
8526942
popup layout
andrew0022 May 3, 2023
1415e8d
popup layout
andrew0022 May 3, 2023
40233ef
popup layout
andrew0022 May 3, 2023
f1f2d6f
Merge remote-tracking branch 'origin/master' into pop-up-looks
andrew0022 May 3, 2023
2d4f837
home page spacing and matching the css for create post text boxes
andrew0022 May 3, 2023
9c72430
Merge pull request #135 from agiledev-students-spring-2023/pop-up-looks
wengf2086 May 3, 2023
2661717
Merge pull request #136 from agiledev-students-spring-2023/home-page-…
wengf2086 May 3, 2023
3746a33
fixed styling for request pop-up
wengf2086 May 3, 2023
b3b952b
Accepting a request now deletes the post
wengf2086 May 3, 2023
e88e32a
Accepting a request now reloads the page
wengf2086 May 3, 2023
cc1e19b
chat creation in backend
wovensoul May 3, 2023
3e6899d
Fixed datetime picker on create-post
wengf2086 May 3, 2023
e0bfd8d
Added time display to date
wengf2086 May 3, 2023
96e518a
resolve / cancel date now refreshes the page correctly
wengf2086 May 3, 2023
4d143fa
Merge remote-tracking branch 'origin/master' into minor-fixes
wengf2086 May 3, 2023
6779b2e
Merge pull request #137 from agiledev-students-spring-2023/user-story…
wengf2086 May 3, 2023
505f936
Merge branch 'master' into minor-fixes
wengf2086 May 3, 2023
6c8ef5d
Merge pull request #138 from agiledev-students-spring-2023/minor-fixes
wengf2086 May 3, 2023
d0ad2de
fix
clairekguo May 3, 2023
4792bfd
Merge pull request #139 from agiledev-students-spring-2023/quick-fix
wengf2086 May 3, 2023
000c7b2
add package lock
clairekguo May 3, 2023
6e0d252
Merge pull request #140 from agiledev-students-spring-2023/package-lock
wengf2086 May 3, 2023
6637798
add package lock
clairekguo May 3, 2023
d2cd6ef
Merge pull request #141 from agiledev-students-spring-2023/new
wengf2086 May 3, 2023
f9080aa
fix
clairekguo May 3, 2023
45c338e
Merge pull request #142 from agiledev-students-spring-2023/another
wengf2086 May 3, 2023
6cdf2a7
add readme
wengf2086 May 3, 2023
3fc359a
removed chat
wengf2086 May 3, 2023
5e84a82
changed server url to include port
wengf2086 May 3, 2023
5c3787b
Merge pull request #143 from agiledev-students-spring-2023/hopefully-…
clairekguo May 3, 2023
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ Thumbs.db
# Typical Node.js artifacts #
#############################

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

# Logs
logs
*.log
Expand Down
63 changes: 61 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,61 @@
# 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

## Team Values
- We will work together in weekly meetings where we discuss what needs to be done, what has been completed, and the things each person will be working going forwards.

- If anyone needs help, they can message the discord at any time or discuss their problems in our weekly meetings if they are not urgent.

### Resolving Conflicts

- Disagreements: If any disagreements come up regarding any part of the process that cannot be easily resolved, we will create a vote on the direction that we want the project to move in.

- Failing to meet obligations: If any individual is failing to meet their obligations, we will first assess why they are not able to complete their work and/or adjust our roles accordingly. If this problem becomes reocurring despite attempts to accomodate their personal issues, we will need to contact course administrators.

- Time to respond to messages: If any message is directed at you, you are expected to respond to the message or at least acknowledge you have seen it within the day that it is sent.

## Sprint Cadence

Each Sprint should take approximately two to three weeks, depending on the course schedule.

## Daily Standups

We will have a daily standup on 3/06, 3/08, 3/27, 3/29, 4/03, 4/12, 4/17, 4/19, 4/26, 5/01. The exact times will be organized through the discord in the days leading up to the standup.

The standups will take place either syncronously through a Discord voice call or in-person on campus.

We agree to attend every standup and other members will not cover for members who do not attend.

Members who do not attend or make any notable progress on a task for two standups or more without communication with the rest of the members may be reported to course administration.

## Coding Standards

-Everyone uses Visual Studio Code

-Use camelCase

-Use Semicolons

-Write comments for all code

-Keep code as simple as possible

-Keep function definitions at the bottom of your code

-Make sure code is not redundant (Reuse code as much as possible)

-Make comprehensible debug statements

-Comment out any debugging lines that are not used

-Remove all dead code

## Contributions

- Each person will take on the role of scrum master and product owner at least once
- Work will be divided amongst the members equally throughout the duration of the project

## Set Up

- Each member must use Visual Studio Code
- All members must use Github
- All members must run 'npm install' to install the necessary packages
39 changes: 29 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
# Project Repository
# Dinner Date
Dinner Date is a social networking app that provides a platform for users to find others to dine with.

This repository will be used for team projects.
[Deployment Link](https://dinnerdate-vvwz2.ondigitalocean.app/login)

Several sets of instructions are included in this repository. They should each be treated as separate assignments with their own due dates and sets of requirements.
## Team Members
[Andrew Huang](https://github.com/andrew0022), [Claire Guo](https://github.com/clairekguo), [Frank Weng](https://github.com/wengf2086), [Jeffrey Chen](https://github.com/FrozenEclipse), [Victoria Carroll](https://github.com/victoriacarroll323)

1. See the [App Map & Wireframes](instructions-0a-app-map-wireframes.md) and [Prototyping](./instructions-0b-prototyping.md) instructions for the requirements of the initial user experience design of the app.
## Product Vision Statement
With Dinner Date, users will need to register with an account. Once logged in, they will gain access to all the resturants and invitations in their geographic area. A map will display pins marking resturants that the user can click on to view exisitng invitations along with the creators' profiles and rating. The user has the option of accepting the invitation of another user or to post one of their own by filling out a form with time and description information. If the user has an active post, they will be able to view a list of other users that have accepted their invitation. The original creator of the post can either "accept" or "decline" each user. Once a date is set, the two parties will be able to engage in conversation over our app with our chat feature. The details of the date can also be edited or cancelled by either user. Following the scheduled time of the date, both users will be prompted to rate the other on a scale of 1-5 stars based on punctuality, behavior, etc. Users will also be allowed access to their chat history and to edit their own profile settings.

1. Delete the contents of this file and replace with the contents of a proper README.md, as described in the [project setup instructions](./instructions-0c-project-setup.md)
Our product is targeted towards adults looking to try new resturants while meeting new people with a simialr interest. Given the nature of our product, it is expected to have a larger presence in metropolitan areas.

1. See the [Sprint Planning instructions](instructions-0d-sprint-planning.md) for the requirements of Sprint Planning for each Sprint.
The ultimate goal of Dinner Date is to provide a safe, reliable space for food loving adults to quickly connect with others looking to try the same restruant.

1. See the [Front-End Development instructions](./instructions-1-front-end.md) for the requirements of the initial Front-End Development.
## History
New York City arguably has the most prominent food scene in the wrold. The city is home to hundreds of unique resturants. However, while there is an endless number of places to try, it can prove difficult finding people to share the experiences with. With the current market flooded with various social networking and dating apps, it can be time consuming and cumbersome to find a stranger just to eat with. What are the chances of finding a post on Twitter looking for someone to go to dinner with? Pretty low. And planning a date with a Tinder match? That could take weeks. That's when we came up with Dinner Date. We wanted an easy and efficient way to quickly find other individuals near you who share the intention of looking for someone to dine with. With Dinner Date, we envision a future where no one will ever miss out on the opportunity of trying a new resturnat in fear of eating alone.

1. See the [Back-End Development instructions](./instructions-2-back-end.md) for the requirements of the initial Back-End Development.
## Contribution
If you are interesting in contributing, please refer to [CONTRIBUTING.md](./CONTRIBUTING.md).

1. See the [Database Integration instructions](./instructions-3-database.md) for the requirements of integrating a database into the back-end.
## Building & Testing
To build and test this project, follow these instructions:
1. Go to /back-end
2. Create an `.env` file with the following line:
GOOGLE_MAPS_API_KEY=AIzaSyB8VORRZ3mEDvFhU8z9cxkZM4Bqautc85s
3. Run `npm install --force`
4. Run `nodemon`
5. Open a new terminal and go to /front-end
6. Create an `.env` file with the following line:
REACT_APP_GOOGLE_MAPS_API_KEY=AIzaSyB8VORRZ3mEDvFhU8z9cxkZM4Bqautc85s
7. Run `npm install --force`
8. Run `npm start`

1. See the [Deployment instructions](./instructions-4-deployment.md) for the requirements of deploying an app.
Notes:
- Sometimes we reach the rate limit for the Mockaroo API. When this happens, we serve static data instead.
- It may a take a while for data on `/restaurant-info` and `/home-lfd` to load. Please give it some time.
- It is impossible to generate a random placeId for a random restaurant, so we've used static data for sample restaurant info.
78 changes: 74 additions & 4 deletions UX-DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,78 @@
# User Experience Design

This repository contains instructions and files for two assignments that together comprise the user experience design phase of a web app.
## **[Prototype](https://www.figma.com/proto/NrtB8ONdhaRjqkqnG6YRrf/DinnerDate?node-id=30%3A96&scaling=scale-down&page-id=0%3A1&starting-point-node-id=30%3A96)**

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

- [app map & wireframe instructions](instructions-0a-app-map-wireframes.md).
- [prototype instructions](instructions-0b-prototyping.md)
<img src="./ux-design/login.png" width="25%">

- The user must register and log in to use the app
- Login will check the user's credentials
- Register will add the new user to the system

### Home - Find a Date:

<img src="./ux-design/find_create_date.png" width="25%">

- A map is displayed with various pins on resturants where people have active posts
- When the user chooses a restaurant, the app will direct to a page that shows information about the restaurant:

### Location Info:

<img src="./ux-design/location_info.png" width="25%">

- Here, all the active posts are listed for the user to browse
- The user can either create their own post or select one of the existing dates
- Once the user selects a date, the creator of the post will be able to accept or decline this request

### Create Post:

<img src="./ux-design/create_post.png" width="25%">

- The user can create a post at the selected resturnat by filling out the form

### Home - Date Posted:

<img src="./ux-design/post.png" width="25%">

- When the user creates a post, this will become their new home screen
- Here the user can see all the people who have responded to their post and choose one to go on a date with
- When the user clicks on a diner, you get brought to their profile

### Date Profile:

<img src="./ux-design/diner_profile.png" width="25%">

- Here the user can view the profile of the user who accepted the post
- The user has the option to accept or decline

### Home - Date Confirmed:

<img src="./ux-design/date_confirmed.png" width="25%">

- When a date is confirmed, this will be the new home page
- Here, the user can chat with the other user, get directions to the resturant (opens google maps), edit the date, or cancel

### Edit Post:

<img src="./ux-design/edit_post.png" width="25%">

- Here the user can edit the details of their active post

### All Conversations:

<img src="./ux-design/conversations.png" width="25%">

- This page displays all the user's prior and current conversations

### Chat:

<img src="./ux-design/message.png" width="25%">

- Here is the messaging feature where users can chat with their dates

### My Profile:

<img src="./ux-design/my_profile.png" width="25%">

- The user's profile info is displayed here with options to edit
Loading