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 380 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
380 commits
Select commit Hold shift + click to select a range
d8d4e55
added map to routes page and connections to API
anaspacheco Nov 9, 2023
13567fa
changed MAP UI
anaspacheco Nov 9, 2023
ed27153
fixed file
anaspacheco Nov 9, 2023
ae51ba4
Merge pull request #60 from agiledev-students-fall2023/anasofia
unfiltered-syrup Nov 9, 2023
618d935
fixed small bug that was merged into master
unfiltered-syrup Nov 9, 2023
714755f
Merge pull request #61 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Nov 9, 2023
b3130eb
Added functionality to show buses on map
unfiltered-syrup Nov 10, 2023
e4b31db
Merge pull request #62 from agiledev-students-fall2023/Jaden's-Branch
r8btx Nov 10, 2023
eaa13d8
darkmode completed
unfiltered-syrup Nov 10, 2023
4c92b4f
Merge pull request #63 from agiledev-students-fall2023/Jaden's-Branch
r8btx Nov 10, 2023
16ba7f6
map fix, bus data websocket, some code cleaning
r8btx Nov 10, 2023
3c75c63
fixed map related options, etc.
r8btx Nov 10, 2023
2926616
fixes map tile being round-edged
r8btx Nov 11, 2023
11a4c34
bus > transport to include other transportations
r8btx Nov 11, 2023
b81768b
processTransportData > transportMarker.js
r8btx Nov 11, 2023
bafe3f6
transport marker animation
r8btx Nov 11, 2023
a8ee93b
fixed map styling not being applied
r8btx Nov 11, 2023
db42989
fixed assigning course
r8btx Nov 11, 2023
ce16a67
added missing google map api library
r8btx Nov 11, 2023
7aad713
added a comment for later
r8btx Nov 11, 2023
586895c
moved api and map init function to mapUtility.js
r8btx Nov 12, 2023
5fe1842
dynamic api load applied
r8btx Nov 12, 2023
f372eae
removed key
anaspacheco Nov 13, 2023
90e9cab
merging
anaspacheco Nov 13, 2023
d008622
Merge pull request #64 from agiledev-students-fall2023/map-feature-1
anaspacheco Nov 13, 2023
6938ba0
Merge pull request #65 from agiledev-students-fall2023/map-feature-2
anaspacheco Nov 13, 2023
d045a13
merging
anaspacheco Nov 13, 2023
3fc64d9
Updated README.md
anaspacheco Nov 13, 2023
c0947cc
Update CONTRIBUTING.md
anaspacheco Nov 13, 2023
56b41cd
fixed geolocation and map zoom
anaspacheco Nov 19, 2023
4b7b6c9
merging
anaspacheco Nov 19, 2023
69e8d24
removed key
anaspacheco Nov 19, 2023
d6982db
Merge pull request #68 from agiledev-students-fall2023/anasofia
r8btx Nov 20, 2023
0091827
Use env file for storing API key
r8btx Nov 20, 2023
5c55313
Create .env
r8btx Nov 20, 2023
b9ed2e2
Rename .env to .env.local
r8btx Nov 20, 2023
f9153c6
Delete front-end/.env.local
r8btx Nov 20, 2023
7ebbf99
service register
r8btx Nov 20, 2023
c4c7c56
service endpoints to localStorage
r8btx Nov 20, 2023
6b5d0a7
get initial map center
r8btx Nov 20, 2023
a11c2b2
minor change
r8btx Nov 20, 2023
4547fa9
minor change
r8btx Nov 20, 2023
417e195
Merge pull request #69 from agiledev-students-fall2023/file-env
unfiltered-syrup Nov 21, 2023
4020937
Merge pull request #71 from agiledev-students-fall2023/map-feature-3
unfiltered-syrup Nov 21, 2023
073f0a9
Merge pull request #70 from agiledev-students-fall2023/register-service
r8btx Nov 21, 2023
d1b6981
fetch alerts from the endpoint
r8btx Nov 21, 2023
29abb07
basic styling
r8btx Nov 21, 2023
266a6fc
prevent too frequent requests
r8btx Nov 21, 2023
e1a5b8e
Merge pull request #72 from agiledev-students-fall2023/alerts-page-2
unfiltered-syrup Nov 21, 2023
ff556cc
fixed rate limiting preventing initial requests
r8btx Nov 21, 2023
3e77afc
Merge pull request #73 from agiledev-students-fall2023/alerts-page-2
anaspacheco Nov 21, 2023
f3356d1
Added bus icon colors
unfiltered-syrup Nov 21, 2023
e931399
Merge pull request #74 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Nov 21, 2023
b57db30
Bus display colors now matches route
unfiltered-syrup Nov 21, 2023
55eff52
UI changes to routes page
unfiltered-syrup Nov 21, 2023
df835c8
Initial implementation of transportation query
r8btx Nov 22, 2023
be17715
fixed bug
r8btx Nov 22, 2023
91ef923
replaced proxy version
r8btx Nov 22, 2023
b99d86b
removed log messages
r8btx Nov 22, 2023
6c589e1
dynamically generate marker icon
r8btx Nov 22, 2023
cab8b8d
remove backend proxy for transportation requests
r8btx Nov 22, 2023
ee119e0
changes to routes UI
anaspacheco Nov 22, 2023
086826e
Merge pull request #75 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Nov 22, 2023
182510d
Merge branch 'master' of https://github.com/agiledev-students-fall202…
anaspacheco Nov 22, 2023
5100796
fixed everything appearing washed out
r8btx Nov 22, 2023
e115b22
manually merged conflicting changes
unfiltered-syrup Nov 22, 2023
331516d
Merge pull request #77 from agiledev-students-fall2023/map-fix-1
unfiltered-syrup Nov 22, 2023
28d5454
Merge branch 'master' into Jaden's-Branch
r8btx Nov 22, 2023
73aa270
Merge pull request #78 from agiledev-students-fall2023/Jaden's-Branch
r8btx Nov 22, 2023
c51e05f
allow no callback function in loadGoogleMapsAPI
r8btx Nov 22, 2023
3b5e990
updated transportation animation
r8btx Nov 22, 2023
5442a34
loading completes when Google Maps API is loaded
r8btx Nov 22, 2023
19b3710
navbar matches the path after refreshing the page
r8btx Nov 22, 2023
26113e7
stricter navigation rule
r8btx Nov 22, 2023
6a63b59
Send first time users to the map page
r8btx Nov 22, 2023
686ce21
rewrite
r8btx Nov 22, 2023
6385da1
update Icon only when necessary
r8btx Nov 22, 2023
ce41a67
Merge pull request #79 from agiledev-students-fall2023/minor-improvem…
unfiltered-syrup Nov 22, 2023
8ad37c2
added optimize route finding algorithm
unfiltered-syrup Nov 26, 2023
786837b
small fixes
unfiltered-syrup Nov 26, 2023
e04b7ae
fixed route finding bug, fixed bus icon bugs
unfiltered-syrup Nov 27, 2023
52ce2e9
Merge pull request #80 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Nov 27, 2023
743ffee
added function to plot route with multiple stops
unfiltered-syrup Nov 27, 2023
aa22f8f
starting backend
anaspacheco Nov 27, 2023
7ff4ae8
Merge branch 'master' of https://github.com/agiledev-students-fall202…
anaspacheco Nov 27, 2023
452a766
merging
anaspacheco Nov 27, 2023
88d1afb
basic backend
anaspacheco Nov 28, 2023
fb4d0b3
Merge pull request #81 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Nov 28, 2023
39e56c9
merging
anaspacheco Nov 28, 2023
dc7df64
tests w greater code coverage and deleted protected routes
anaspacheco Nov 28, 2023
afc41cc
Merge pull request #82 from agiledev-students-fall2023/anasofia
r8btx Nov 28, 2023
fec9b68
feedback routes and testing
anaspacheco Nov 28, 2023
310e3f0
merge
anaspacheco Nov 28, 2023
c5633aa
Merge pull request #83 from agiledev-students-fall2023/anasofia
r8btx Nov 28, 2023
5eaa82c
connected frontend of feedback
anaspacheco Nov 28, 2023
90ed452
merged
anaspacheco Nov 28, 2023
5956e87
integrated front-end
anaspacheco Nov 28, 2023
84e4b47
Update README.md
anaspacheco Nov 28, 2023
626e143
fixed tests
anaspacheco Nov 28, 2023
3fc2c52
Merge pull request #87 from agiledev-students-fall2023/anasofia
unfiltered-syrup Nov 28, 2023
9205a3c
removed login and added css to feedback
anaspacheco Nov 28, 2023
63fe2b6
Update README.md
anaspacheco Nov 28, 2023
1f80edf
fixed location filter
anaspacheco Nov 28, 2023
4601c24
fixed wrong endpoint
r8btx Nov 28, 2023
08eade3
get route data
r8btx Nov 28, 2023
5f47319
fix interaction errors
r8btx Nov 29, 2023
ff65c34
return value and variable name
r8btx Nov 29, 2023
8b8a93d
added markerclusterer
r8btx Nov 29, 2023
6a5c026
show routes and stops
r8btx Nov 29, 2023
9d627bf
changes to settings
anaspacheco Nov 29, 2023
527cdbd
merging
anaspacheco Nov 29, 2023
2ce6d6f
Merge pull request #89 from agiledev-students-fall2023/routes-stops-t…
anaspacheco Nov 29, 2023
44126b1
Merge pull request #88 from agiledev-students-fall2023/anasofia
r8btx Nov 29, 2023
e90a893
small changes to settings
anaspacheco Nov 29, 2023
2844d4c
fixed bug
anaspacheco Nov 29, 2023
b74c0f2
Merge pull request #91 from agiledev-students-fall2023/anasofia
unfiltered-syrup Nov 29, 2023
9051895
added asset for marker clusterer
r8btx Nov 30, 2023
8f9cfd6
state persistance and saved routes
anaspacheco Nov 30, 2023
cd3efa5
filter related changes
r8btx Nov 30, 2023
9999235
removed test code
r8btx Nov 30, 2023
b430555
loading filter
r8btx Dec 1, 2023
38d239d
fix drop down arrow not showing
r8btx Dec 1, 2023
c911cd0
load route info automatically
r8btx Dec 1, 2023
f68e579
set up shared variable
r8btx Dec 1, 2023
742fd2f
removed debug printout
r8btx Dec 1, 2023
cd35dd2
filter route path
r8btx Dec 1, 2023
f02e0e7
fixed stop markers not being cleared properly
r8btx Dec 1, 2023
2afb3aa
lazy fix to stops not appearing on zoom reset
r8btx Dec 1, 2023
9b43953
transportation stays on top of routes & stops
r8btx Dec 1, 2023
4f49683
edit websocket setup
r8btx Dec 1, 2023
dcc37ed
minor change
r8btx Dec 1, 2023
d97aaa8
correctly display bus based on filter
r8btx Dec 1, 2023
b91f72a
Merge pull request #109 from agiledev-students-fall2023/routes-stops-…
unfiltered-syrup Dec 1, 2023
d4ccb33
Merge pull request #108 from agiledev-students-fall2023/anasofia
unfiltered-syrup Dec 1, 2023
8df9c62
added routes for timetable
anaspacheco Dec 1, 2023
f35c6f7
merging
anaspacheco Dec 1, 2023
4ec13dc
Completed single route finding algorithm
unfiltered-syrup Dec 2, 2023
c7da007
small fixes
unfiltered-syrup Dec 2, 2023
94b5bb1
connected route finding to frontend
unfiltered-syrup Dec 2, 2023
175b997
added cron to time updates
anaspacheco Dec 2, 2023
7277d74
Merge pull request #110 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Dec 2, 2023
ab3d26b
Merge branch 'master' of https://github.com/agiledev-students-fall202…
anaspacheco Dec 2, 2023
49317c9
merging
anaspacheco Dec 2, 2023
c1eb333
merged
anaspacheco Dec 2, 2023
d94fe58
Merge pull request #112 from agiledev-students-fall2023/anasofia
r8btx Dec 2, 2023
2d131da
functional route finding
unfiltered-syrup Dec 2, 2023
141dbad
routes page modifications
unfiltered-syrup Dec 2, 2023
c83a7a1
Merge pull request #115 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Dec 2, 2023
c818baf
fixed conflicting DOM id (map)
r8btx Dec 3, 2023
db20337
added initial geolocation function
r8btx Dec 3, 2023
940d54f
nyushuttle.location.lastPos in sync with updates
r8btx Dec 3, 2023
ecc15d9
route functions improved
unfiltered-syrup Dec 3, 2023
a313f6e
Merge branch 'master' into Jaden's-Branch
unfiltered-syrup Dec 3, 2023
deef786
disabled debug message
r8btx Dec 3, 2023
612d233
transportation marker display location correction
r8btx Dec 3, 2023
c4b8114
Merge pull request #116 from agiledev-students-fall2023/userlocation
anaspacheco Dec 3, 2023
79f2e37
Merge pull request #119 from agiledev-students-fall2023/minor-fix
anaspacheco Dec 3, 2023
fd7ded6
passing route info to maps page
unfiltered-syrup Dec 3, 2023
fcd14ad
Merge branch 'master' into Jaden's-Branch
unfiltered-syrup Dec 3, 2023
ea149fc
changes on route selection
unfiltered-syrup Dec 3, 2023
f89d526
fixed cors issue
unfiltered-syrup Dec 3, 2023
daf3bc4
subroutes page display fixes
unfiltered-syrup Dec 4, 2023
77a1ff7
Route and stop display updated
unfiltered-syrup Dec 4, 2023
437ba2a
added walking routes display
unfiltered-syrup Dec 5, 2023
27c9b47
small fixes
unfiltered-syrup Dec 5, 2023
1ceb9db
saving changes
anaspacheco Dec 5, 2023
bef35a5
walking time display
unfiltered-syrup Dec 5, 2023
c585dbc
added stopTimes
anaspacheco Dec 5, 2023
b463c28
ui fixes
unfiltered-syrup Dec 5, 2023
cb82151
routes page ui overhaul
unfiltered-syrup Dec 5, 2023
3c1cdb8
Merge pull request #122 from agiledev-students-fall2023/anasofia
unfiltered-syrup Dec 5, 2023
0b9d30c
Merge branch 'master' into Jaden's-Branch
unfiltered-syrup Dec 5, 2023
657f3b9
Merge pull request #123 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Dec 6, 2023
0d85fd7
adding stop info
anaspacheco Dec 6, 2023
8804655
merging
anaspacheco Dec 6, 2023
bf167fa
testing yml file
anaspacheco Dec 6, 2023
4cb53c1
yml
anaspacheco Dec 6, 2023
054841f
yml
anaspacheco Dec 6, 2023
48c69b8
yml
anaspacheco Dec 6, 2023
4bb7155
yaml
anaspacheco Dec 6, 2023
2938fee
changed test
anaspacheco Dec 6, 2023
1026da7
kml
anaspacheco Dec 6, 2023
7e5ac14
Merge pull request #124 from agiledev-students-fall2023/anasofia
r8btx Dec 6, 2023
2ff7fb9
code style changes
r8btx Dec 6, 2023
f88ca8f
deployment changes
unfiltered-syrup Dec 6, 2023
93e4c9b
Merge pull request #125 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Dec 6, 2023
3354ba6
Merge branch 'master' of https://github.com/agiledev-students-fall202…
r8btx Dec 6, 2023
b052e25
added asset
r8btx Dec 6, 2023
a884480
change in how navigation routes are displayed
r8btx Dec 6, 2023
60db8c7
routes subpage now compatible
r8btx Dec 6, 2023
b99d482
fixed filter related issues in navigation
r8btx Dec 6, 2023
976d147
messy fix to navbar not functioning
r8btx Dec 6, 2023
9a4f807
fix duplicate stops
r8btx Dec 6, 2023
3a7584b
changes to get the app ready for deployment
unfiltered-syrup Dec 6, 2023
a641e1e
stop data
anaspacheco Dec 6, 2023
8abb4ac
Merge pull request #126 from agiledev-students-fall2023/navigate-route
anaspacheco Dec 6, 2023
38c97cf
Merge pull request #127 from agiledev-students-fall2023/Jaden's-Branch
anaspacheco Dec 6, 2023
5798c54
Merge branch 'master' of https://github.com/agiledev-students-fall202…
anaspacheco Dec 6, 2023
f7d278d
saveRouteDialog.css not loading error
r8btx Dec 6, 2023
1ebb16b
key prop warning
r8btx Dec 6, 2023
9049b55
NS -> -- for time spreadsheets
r8btx Dec 6, 2023
7c280f3
changes
anaspacheco Dec 6, 2023
8964c87
Merge pull request #128 from agiledev-students-fall2023/bug-fixes-and…
anaspacheco Dec 6, 2023
0ebe797
Merge branch 'master' of https://github.com/agiledev-students-fall202…
anaspacheco Dec 6, 2023
be0e1eb
fix cors issues
r8btx Dec 6, 2023
3f65f1d
Merge pull request #129 from agiledev-students-fall2023/bug-fixes-and…
anaspacheco Dec 6, 2023
2276704
fixed routes
anaspacheco Dec 6, 2023
e9ed9bd
merged
anaspacheco Dec 6, 2023
c49c3f2
bug fix w feedback and routes
anaspacheco Dec 6, 2023
f5a8ab6
fixed app.js
anaspacheco Dec 6, 2023
5e4d4aa
Merge pull request #130 from agiledev-students-fall2023/anasofia2
r8btx Dec 6, 2023
93546d9
trying
anaspacheco Dec 7, 2023
3cb6302
trying
anaspacheco Dec 7, 2023
1b5c031
changes
anaspacheco Dec 7, 2023
813db93
trying
anaspacheco Dec 7, 2023
b7f3b0f
deployment
r8btx Dec 7, 2023
fa7b6a6
Merge pull request #131 from agiledev-students-fall2023/deployment
unfiltered-syrup Dec 7, 2023
b030f97
update stage.yml
r8btx Dec 7, 2023
eac2852
Merge pull request #132 from agiledev-students-fall2023/deployment
unfiltered-syrup Dec 7, 2023
e6bd190
update docker image
r8btx Dec 7, 2023
436dd54
Merge pull request #133 from agiledev-students-fall2023/deployment
r8btx Dec 7, 2023
dbeb994
updated dockerfile
r8btx Dec 7, 2023
4f8084c
Merge pull request #134 from agiledev-students-fall2023/deployment
r8btx Dec 7, 2023
60998dc
update
r8btx Dec 7, 2023
a96e451
Merge pull request #135 from agiledev-students-fall2023/deployment
r8btx Dec 7, 2023
f4fe47b
update
r8btx Dec 7, 2023
a44ddf1
Merge pull request #136 from agiledev-students-fall2023/deployment
r8btx Dec 7, 2023
fdfdfd8
changes
anaspacheco Dec 7, 2023
a212ec8
merging
anaspacheco Dec 7, 2023
2456405
fixed dark mode and added styling to stops
anaspacheco Dec 7, 2023
9eef4f8
fixed cluster display
anaspacheco Dec 7, 2023
16796c9
fixed routes sub page crashing
r8btx Dec 7, 2023
54caa85
fixed map tile apearing rounded
r8btx Dec 7, 2023
b378d3d
(temporarily) removed unfinished shuttle schedule
r8btx Dec 7, 2023
8f5b734
Merge pull request #138 from agiledev-students-fall2023/anasofia2
r8btx Dec 7, 2023
af27552
Merge pull request #139 from agiledev-students-fall2023/bug-fixes-and…
anaspacheco Dec 7, 2023
c142e1f
quick fix when there is no route
r8btx Dec 7, 2023
5fbb802
removed debug message
r8btx Dec 7, 2023
78affe9
defer tutorial
r8btx Dec 7, 2023
395f4c5
fixed saved route not loading location data
r8btx Dec 7, 2023
bc97b55
fixed error caused by the previous commit
r8btx Dec 7, 2023
e6170f2
revert
r8btx Dec 7, 2023
7783750
Merge pull request #141 from agiledev-students-fall2023/bug-fixes-and…
anaspacheco Dec 7, 2023
3c029a5
Merge pull request #142 from agiledev-students-fall2023/deployment
anaspacheco Dec 7, 2023
8b548a5
minor css changes
unfiltered-syrup Dec 7, 2023
53c725c
minor maps page css changes
unfiltered-syrup Dec 7, 2023
bf32cc4
cors fix
unfiltered-syrup Dec 7, 2023
e5b3e2f
remove axios
unfiltered-syrup Dec 7, 2023
06440fb
axios fix
unfiltered-syrup Dec 7, 2023
f58acd3
Update README.md
anaspacheco Dec 7, 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
14 changes: 3 additions & 11 deletions .github/ISSUE_TEMPLATE/spike-template.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
---
name: Spike Template
about: A template to use for Spikes
title: ''
title: ""
labels: spike
assignees: ''

assignees: ""
---

## Estimation of work
- TBD

## Acceptance criteria
- [ ] foo
- [ ] bar
- [ ] etc
- [ ] etc
_By definition, this `spike` is not related to any specific User Story._
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/task-template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
name: Task Template
about: A template to use for Tasks
title: ''
title: ""
labels: task
assignees: ''

assignees: ""
---

Related to User Story #?

_By definition, this `task` represents one unit of work that is part of the implementation of a single user story._
11 changes: 6 additions & 5 deletions .github/ISSUE_TEMPLATE/user-story-template.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: User Story Template
about: A template to use for User Stories
title: ''
title: ""
labels: user story
assignees: ''

assignees: ""
---

## Estimation of work
## Estimation of effort (optional)

- TBD

## Acceptance criteria
## Acceptance criteria (optional)

- [ ] foo
- [ ] bar
- [ ] baz
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Node.js CI

on:
push:
branches: [ anasofia2 ]
pull_request:
branches: [ anasofia2 ]

jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]

env:
EXPRESS_APP_MAP_API_KEY: ${{ secrets.EXPRESS_APP_MAP_API_KEY }}
FRONT_END_DOMAIN: ${{ secrets.FRONT_END_DOMAIN }}
GOOGLE_SHEETS_APIKEY: ${{ secrets.GOOGLE_SHEETS_APIKEY }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
REACT_APP_BACKEND: ${{ secrets.REACT_APP_BACKEND }}
REACT_APP_MAP_API_KEY: ${{ secrets.REACT_APP_MAP_API_KEY }}

steps:
- uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm run install-dependencies

- name: Run Tests
run: |
cd back-end
npm test

58 changes: 58 additions & 0 deletions .github/workflows/event-logger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
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
4 changes: 4 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 #
#############################

# Lock file so we don't bloat the git log stats
package-lock.json

# Logs
logs
*.log
Expand Down Expand Up @@ -113,6 +116,7 @@ typings/

# dotenv environment variables file
.env
back-end/credentials.json

# next.js build output
.next
Expand Down
39 changes: 37 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,37 @@
# 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)
# Contributing to NYU Shuttle

Thank you for your interest in contributing to our project. We welcome your contributions and value your input.

## Git Workflow

We follow a Git workflow to manage our codebase. The primary branches are:

- `main`: The main development branch.
- `feature/*`: Feature branches for developing new features.
- `bugfix/*`: Bugfix branches for addressing issues.

## Rules of Contributing

When contributing, please adhere to the following rules:
- Follow our coding standards
- Make sure your contributions align with the project's goals and scope.
- Respect other contributors

## How to Contribute

To contribute to our project, follow these steps:

1. Fork the repository to your GitHub account.
2. Clone the forked repository to your local machine.
3. git checkout -b feature/your-feature-name
4. git commit -m "Description of your changes"
5. git push origin feature/your-feature-name
6. Open a pull request for your changes

## Local Development Environment Setup

1. Clone the repository to your local machine
2. Install project dependencies
3. Set up Google Maps API key
4. Run the development server

68 changes: 58 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,67 @@
# Project Repository
# NYU Shuttle App

This repository will be used for team projects.
## Project Description

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.
The NYU Shuttle App is a mobile application designed to provide real-time information about the NYU shuttle bus service. It is a convenient tool for NYU students, faculty, and staff to track shuttle bus locations, plan routes, and receive updates on shuttle schedules. The primary goal of this project is to enhance the overall commuting experience for the NYU community by making transportation more efficient and accessible.

## Product Vision Statement
Recognizing the limitations in NYU's existing shuttle app, primarily concerning its user interface, we want to create a better mobile-friendly application with shuttle information that is easy to access and understand.

## Team Members
- [r8btx](https://www.github.com/r8btx)
- [Jaden Wang](https://github.com/unfiltered-syrup)
- [Ana Pacheco](https://github.com/anaspacheco)

## History and Contribution Guidelines

The NYU Shuttle App project originated from a group of NYU students who recognized the need for an improved shuttle service experience, as many students and faculty had expressed frustrations with the existing web application. If you'd like to contribute to this project, please read our [CONTRIBUTING.md](CONTRIBUTING.md) document for guidelines on how to get involved.

## Access deployed aplication:

- Navigate to 138.197.74.172:4000 in your browser to check out our deployed app!

## Building and Testing

Fork the repo and clone it locally. Then:

1. cd to front-end and back-end

2. Install Dependencies:
```bash
npm install

3. Put Google Maps API key at utils/MapUtility.js (const API_KEY)

4. In the front end folder, put the following keys in a .env file:
- REACT_APP_MAP_API_KEY (please, reach out to us for the exact key)
- REACT_APP_BACKEND==http://localhost:4000

5. In the back end folder, put the following keys in a .env file:
- MONGODB_URI= (please, reach out to us for the exact key)
- FRONT_END_DOMAIN=http://localhost:3000
- EXPRESS_APP_MAP_API_KEY (please, reach out to us for the exact key)

6. To run backend tests cd to the backend folder and run:
```bash
npm test

8. Run frontend and backend
```bash
npm start

## Additional Resources

- [Initial Prototype](UX-DESIGN.md)
- [NYU Transportations Routes and Schedules Page](https://www.nyu.edu/life/travel-and-transportation/university-transportation/routes-and-schedules.html)
- [Current NYU Shuttle Website (PassioGo)](https://nyu.passiogo.com/)

## Contact Us

If you have any questions, feedback, or suggestions, please feel free to open an issue or reach out to any of the core team members mentioned above. We appreciate your support and look forward to improving the NYU shuttle experience together!

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.

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)

1. See the [Sprint Planning instructions](instructions-0d-sprint-planning.md) for the requirements of Sprint Planning for each Sprint.

1. See the [Front-End Development instructions](./instructions-1-front-end.md) for the requirements of the initial Front-End Development.

1. See the [Back-End Development instructions](./instructions-2-back-end.md) for the requirements of the initial Back-End Development.

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.
11 changes: 6 additions & 5 deletions UX-DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# User Experience Design
# Prototype

This repository contains instructions and files for two assignments that together comprise the user experience design phase of a web app.
You can access the NYU Shuttle App prototype on Figma:

Replace the contents of this file with the completed assignments, as described in:
[Figma Prototype](https://www.figma.com/proto/mKJ2EhJmDPv1Rb9mLSi2Tk/NYU-Shuttle-Wireframe-Diagram?type=design&node-id=2-4&t=DLS5tE2C22wTjpjD-1&scaling=scale-down&page-id=0%3A1&starting-point-node-id=2%3A4&mode=design)

- [app map & wireframe instructions](instructions-0a-app-map-wireframes.md).
- [prototype instructions](instructions-0b-prototyping.md)
# Site Map

![App Map](sitemap.png)
Loading