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 310 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
883b411
Update explore.js
asgomda Oct 27, 2022
41c002f
Added hover effect on register social links
asgomda Oct 27, 2022
5319b8e
Merge pull request #52 from agiledev-students-fall2022/e-filter
Dev-Kalavadia Oct 27, 2022
a01b417
added login social hover effect
asgomda Oct 27, 2022
8cd00a4
Merge pull request #53 from agiledev-students-fall2022/e-filter
Dev-Kalavadia Oct 27, 2022
5fb7b24
Updated hover color changes for cusine selection
Dev-Kalavadia Oct 27, 2022
acb77b5
Merge branch 'master' of https://github.com/agiledev-students-fall202…
Dev-Kalavadia Oct 27, 2022
cef6e9a
Fixed buttons for navbar & footer
ubadr Oct 27, 2022
4e73215
Updated tab icon to logo
Dev-Kalavadia Oct 27, 2022
525ec88
Added production mockaroo schema
asgomda Oct 27, 2022
fb829ff
Merge branch 'master' into e-filter
asgomda Oct 27, 2022
d1b0cb9
Merge pull request #60 from agiledev-students-fall2022/e-filter
Dev-Kalavadia Oct 27, 2022
b67f051
Fixed footer z-index
ubadr Oct 27, 2022
2ed882c
Set backend
ubadr Nov 2, 2022
b5bcaa8
Added a routing method for the profile page
Nov 3, 2022
caf5fc2
Merge pull request #64 from agiledev-students-fall2022/user-story/24/…
asgomda Nov 4, 2022
4aa27bc
Added /explore route
asgomda Nov 4, 2022
970aced
added dotenv file for secrets
asgomda Nov 4, 2022
6e14d15
Update server.js
asgomda Nov 4, 2022
fe89ad0
Added morgan for logging requests
asgomda Nov 4, 2022
0694f58
Merge pull request #72 from agiledev-students-fall2022/explore-backend
ubadr Nov 5, 2022
843f5c7
Added search route
ubadr Nov 5, 2022
b6dddd9
Added route methods for profile and edit pages
Nov 5, 2022
57da108
Merge pull request #73 from agiledev-students-fall2022/user-story/24/…
ubadr Nov 5, 2022
dbb7569
Added editImage route method
Nov 5, 2022
61bf090
Packing user form data into JSON object
Dev-Kalavadia Nov 6, 2022
f31f010
Merge pull request #74 from agiledev-students-fall2022/user-story/24/…
Dev-Kalavadia Nov 6, 2022
16b0717
Deleted repeated files
Nov 6, 2022
4bcccd0
Added cors
Nov 6, 2022
fe82c7e
Connect profile related files to back-end server
Nov 6, 2022
f1a586e
Merge pull request #76 from agiledev-students-fall2022/user-story/24/…
ubadr Nov 6, 2022
a12e1c4
Completed seach Backend
ubadr Nov 6, 2022
1119b82
Merge pull request #77 from agiledev-students-fall2022/search-backend
hassanhamdani Nov 6, 2022
899ad7e
Recieved Data at Backend for the group form
Dev-Kalavadia Nov 6, 2022
f67f0b6
Implmented Frontend Validation
Dev-Kalavadia Nov 7, 2022
e85cc98
Merge branch 'master' into createGroupBackend
hassanhamdani Nov 7, 2022
4a944b9
Merge pull request #78 from agiledev-students-fall2022/createGroupBac…
hassanhamdani Nov 7, 2022
3c3e14e
unit test
asgomda Nov 7, 2022
db1b6cc
Merge branch 'master' into explore-backend
asgomda Nov 7, 2022
5139df8
Unit test for /explore route
asgomda Nov 7, 2022
1b4c733
Merge pull request #79 from agiledev-students-fall2022/explore-backend
Dev-Kalavadia Nov 7, 2022
da09dd6
Add a public/upload folder for image uploads
Nov 7, 2022
a039d16
Created editImage unit test
Nov 7, 2022
74d3d88
Created editProfilePage unit test
Nov 7, 2022
9ccacf2
Created profilePage unit test
Nov 7, 2022
ad33d5e
Merge pull request #80 from agiledev-students-fall2022/Unit-Testing-p…
Dev-Kalavadia Nov 7, 2022
3917c02
Added /filter route and unit test for /filter route
asgomda Nov 7, 2022
96549c3
Merge branch 'master' into explore-backend
asgomda Nov 7, 2022
59b917c
Added is joined boolean to mockaroo schema
asgomda Nov 7, 2022
dc72cd3
Merge pull request #81 from agiledev-students-fall2022/explore-backend
mishaseo Nov 7, 2022
5e31c42
Changed URLS
Nov 7, 2022
a7d6fa3
Changed describe content
Nov 7, 2022
097bcaa
Added createGroup test
Dev-Kalavadia Nov 7, 2022
2d32c1c
unit test
Dev-Kalavadia Nov 7, 2022
afbe9eb
Merge pull request #82 from agiledev-students-fall2022/Change-URLS-fr…
Dev-Kalavadia Nov 7, 2022
cac9250
Fixed validation text
Dev-Kalavadia Nov 7, 2022
dd6fcd1
Merge branch 'master' into createGroupTest
Dev-Kalavadia Nov 7, 2022
9092b72
Merge pull request #83 from agiledev-students-fall2022/createGroupTest
hassanhamdani Nov 7, 2022
938d8b2
Changed URL for create group page
Dev-Kalavadia Nov 7, 2022
240acb7
Merge pull request #84 from agiledev-students-fall2022/createGroupTest
hassanhamdani Nov 7, 2022
ea24cb4
Unit testing for searchbar
ubadr Nov 8, 2022
934b261
Merge pull request #85 from agiledev-students-fall2022/searchtest
Dev-Kalavadia Nov 8, 2022
40a6aa9
Added instructions to run project
ubadr Nov 8, 2022
5f0961a
Update README.md
ubadr Nov 8, 2022
ded11f6
Update README.md
ubadr Nov 8, 2022
5274c60
Update README.md
ubadr Nov 8, 2022
f82f11e
Added My Groups Page
Dev-Kalavadia Nov 8, 2022
2d8bca0
Created Unit test for my groups page
Dev-Kalavadia Nov 8, 2022
1e13134
Merge pull request #95 from agiledev-students-fall2022/MyGroups
mishaseo Nov 8, 2022
4a76555
loginv2
hassanhamdani Nov 8, 2022
7beb35f
Login/Register
hassanhamdani Nov 8, 2022
37faf15
Validation in Login and Register
hassanhamdani Nov 8, 2022
b233254
Fixed margins issue on login and sign up
hassanhamdani Nov 8, 2022
d1e3525
Fixed email and password verfication
hassanhamdani Nov 8, 2022
43de20e
Merge pull request #97 from agiledev-students-fall2022/loginv2
asgomda Nov 8, 2022
b3d07cb
Update .gitignore to ignore public uploads directory
asgomda Nov 8, 2022
33d3aa3
Redirect to homepage if succes
hassanhamdani Nov 8, 2022
38d934d
Merge pull request #98 from agiledev-students-fall2022/loginv2
Dev-Kalavadia Nov 8, 2022
bfd60ba
Merge branch 'master' of https://github.com/agiledev-students-fall202…
asgomda Nov 11, 2022
6514232
Added loading screen to explore page
asgomda Nov 11, 2022
c705c4b
Merge pull request #103 from agiledev-students-fall2022/card-db
ubadr Nov 14, 2022
ac47f5c
Created schema for Explore and user
asgomda Nov 14, 2022
4fcb8f8
Merge pull request #104 from agiledev-students-fall2022/explore-db
ubadr Nov 14, 2022
386cf1f
Destructuring Data
Dev-Kalavadia Nov 15, 2022
b026038
Completed search backend & fixed schema
ubadr Nov 17, 2022
da9dd85
Merge pull request #105 from agiledev-students-fall2022/searchbackend
mishaseo Nov 17, 2022
5a3eef9
Set Data to Database
Dev-Kalavadia Nov 17, 2022
a11750f
Cleaned Code
Dev-Kalavadia Nov 17, 2022
a49cc1b
Merge branch 'master' into CreateGroupDB
Dev-Kalavadia Nov 17, 2022
4462a6c
Merge pull request #107 from agiledev-students-fall2022/CreateGroupDB
mishaseo Nov 17, 2022
0c81504
Removed local group data storage
Dev-Kalavadia Nov 17, 2022
3e533ea
Updated profilePage with token and new schema
Nov 17, 2022
9e2a7c7
Updated route method with jwt and new schema
Nov 17, 2022
9d5552d
updated route for profilePage
Nov 17, 2022
59c0d95
Updated User schema
Nov 17, 2022
2994193
Added jwt and passport dependencies
Nov 17, 2022
82475f4
Updated profile route with jwt and new schema
Nov 17, 2022
4953880
Merge pull request #108 from agiledev-students-fall2022/profilePage-c…
ubadr Nov 17, 2022
b972b03
Added Infinite scrolling in explore page
ubadr Nov 21, 2022
f70585c
Merge pull request #116 from agiledev-students-fall2022/infinite
asgomda Nov 21, 2022
47d718e
Added filter for explore page
asgomda Nov 21, 2022
6bc1626
Merge branch 'master' into explore-db
asgomda Nov 21, 2022
57bd006
Merge pull request #117 from agiledev-students-fall2022/explore-db
ubadr Nov 21, 2022
69da7fc
Updated image source
Nov 21, 2022
c3f0277
Added use of validation, jwt token and database
Nov 21, 2022
497faab
Removed the token on logout
Nov 21, 2022
a57d0cc
Added the use of jwt token and database
Nov 21, 2022
20833b7
Removed unused variables
Nov 21, 2022
80885c4
Merge pull request #118 from agiledev-students-fall2022/user-story/24…
asgomda Nov 21, 2022
e3a8ec3
Switching to JWT tokens
hassanhamdani Nov 21, 2022
9a89ebe
Jwt updated
hassanhamdani Nov 21, 2022
2cdab3a
Added Remove button in My groups card
Dev-Kalavadia Nov 21, 2022
3ff4753
Sign up working
hassanhamdani Nov 22, 2022
417d9f4
Merge pull request #119 from agiledev-students-fall2022/CreateGroupDB
hassanhamdani Nov 22, 2022
b32ff45
Merge branch 'master' into Jwtauth
hassanhamdani Nov 22, 2022
2747924
Merge pull request #120 from agiledev-students-fall2022/Jwtauth
Dev-Kalavadia Nov 22, 2022
9848800
Fixed authentication
hassanhamdani Nov 22, 2022
25fa5e4
Accessing JWT token
Dev-Kalavadia Nov 22, 2022
ace4f2a
Merge pull request #121 from agiledev-students-fall2022/Jwtauth
Dev-Kalavadia Nov 22, 2022
a099e9b
Update .gitignore
Dev-Kalavadia Nov 22, 2022
07641fd
Merge branch 'master' into CreateGroupDB
Dev-Kalavadia Nov 22, 2022
d8362b1
Merge pull request #122 from agiledev-students-fall2022/CreateGroupDB
hassanhamdani Nov 22, 2022
3a4bc50
Update README.md
ubadr Nov 22, 2022
280d763
Auth
Dev-Kalavadia Nov 22, 2022
655e05c
Merge pull request #123 from agiledev-students-fall2022/GroupsDB
asgomda Nov 22, 2022
a6aeecb
parameter for card changes
asgomda Nov 22, 2022
3bbf108
Merge branch 'master' into explore-db
asgomda Nov 22, 2022
a0dc529
Merge pull request #124 from agiledev-students-fall2022/explore-db
Dev-Kalavadia Nov 22, 2022
e228f07
Allow public/uploads
Nov 28, 2022
ec3d9df
Added url to default profile image
Nov 28, 2022
c1384a2
Added default functionality when no image added
Nov 28, 2022
1dd86f2
Added a mock user to fetch info from databse
Nov 28, 2022
a2f9169
Deleted token from header
Nov 28, 2022
f8f457a
Set first and last name form data to disabled
Nov 28, 2022
5e5412d
Deleted token line
Nov 28, 2022
9a92573
Deleted public folder in back-end
Nov 28, 2022
a71b521
Merge pull request #132 from agiledev-students-fall2022/profile-relat…
ubadr Nov 29, 2022
3af7ab9
Added commented code for authorization
Nov 29, 2022
a56a1a8
Added commented authorization and schema updates
Nov 29, 2022
4aa2793
JWT token finalized
hassanhamdani Nov 29, 2022
a4b99f9
Merge pull request #134 from agiledev-students-fall2022/jwttoken
Dev-Kalavadia Nov 29, 2022
b7f8945
Middleware changes to jwt auth
hassanhamdani Nov 29, 2022
1eb0680
Merge pull request #133 from agiledev-students-fall2022/task-114-upda…
asgomda Nov 29, 2022
85bc20b
changed from localhost to env.url
hassanhamdani Nov 30, 2022
6d08e14
JWT checkuser
Dev-Kalavadia Nov 30, 2022
3de7b22
Update signing.control.js
hassanhamdani Nov 30, 2022
d18e1ba
Merge branch 'master' into GroupsJWT
Dev-Kalavadia Nov 30, 2022
f3ef1fc
Merge pull request #136 from agiledev-students-fall2022/GroupsJWT
hassanhamdani Nov 30, 2022
d55d557
Updated display for Card and card modals
asgomda Nov 30, 2022
6088404
Merge pull request #137 from agiledev-students-fall2022/explore-db
hassanhamdani Nov 30, 2022
0721ef6
Update jwt_auth.js
hassanhamdani Nov 30, 2022
758bdc9
Merge branch 'master' into cookies
hassanhamdani Nov 30, 2022
96d9d4c
jwt_auth update
hassanhamdani Nov 30, 2022
b18ea56
Merge pull request #139 from agiledev-students-fall2022/cookies
Dev-Kalavadia Nov 30, 2022
7c75bf0
Changed logout to a get request
Nov 30, 2022
887f5dd
Added logout functionality
Nov 30, 2022
2e47a15
Updated with authentication usage
Nov 30, 2022
3343320
Update with authentication
Nov 30, 2022
9b24de3
Merge pull request #140 from agiledev-students-fall2022/update-profil…
ubadr Dec 1, 2022
c6569a0
Added user into members array for the group
Dev-Kalavadia Dec 1, 2022
55c9211
Merge branch 'master' into GroupsJWT
Dev-Kalavadia Dec 1, 2022
4ea90b8
Merge pull request #141 from agiledev-students-fall2022/GroupsJWT
hassanhamdani Dec 1, 2022
b167e18
Finalizing My Groups page
Dev-Kalavadia Dec 1, 2022
ec14c8c
Merge branch 'master' into GroupsJWT
Dev-Kalavadia Dec 1, 2022
df8270a
Alerts Working
hassanhamdani Dec 1, 2022
0ad9883
Merge pull request #142 from agiledev-students-fall2022/GroupsJWT
mishaseo Dec 2, 2022
e998bd6
Added functionality to join and leave groups
asgomda Dec 2, 2022
f462199
Merge pull request #143 from agiledev-students-fall2022/explore-db
ubadr Dec 2, 2022
8c2c933
Navbar switch occurs correctly
hassanhamdani Dec 2, 2022
ece728d
Fixed a few bugs related to the search and explore page
ubadr Dec 2, 2022
4461057
Merge pull request #144 from agiledev-students-fall2022/explore-search
asgomda Dec 2, 2022
896860d
Merge branch 'master' into duplicateEmailErr
hassanhamdani Dec 2, 2022
590df02
Merge pull request #145 from agiledev-students-fall2022/duplicateEmai…
Dev-Kalavadia Dec 2, 2022
5dfa7a8
Added alerts and error pages
ubadr Dec 2, 2022
43a5d49
Update Login.js
hassanhamdani Dec 2, 2022
0da5314
Merge pull request #147 from agiledev-students-fall2022/validator
ubadr Dec 2, 2022
6028054
Update README.md
ubadr Dec 2, 2022
81cab0f
Update README.md
ubadr Dec 2, 2022
2a1362c
Update README.md
ubadr Dec 2, 2022
11b93cb
Added cloudinary to store/fetch imgs
ubadr Dec 2, 2022
0a72ad8
Merge pull request #148 from agiledev-students-fall2022/creategrp-img
asgomda Dec 2, 2022
d5ae36c
Merge pull request #146 from agiledev-students-fall2022/errors-and-al…
asgomda Dec 2, 2022
ca58e5a
Integrated Cloudinary image back-end to front-end
asgomda Dec 2, 2022
14dce50
Merge branch 'master' into explore-db
asgomda Dec 2, 2022
dcb99de
Update createGroup.js
asgomda Dec 2, 2022
29b5ae2
Merge pull request #149 from agiledev-students-fall2022/explore-db
ubadr Dec 2, 2022
e03a70f
minor bug fixes
asgomda Dec 2, 2022
0c75f34
changed axios from post to patch
asgomda Dec 2, 2022
0d5f96e
Merge pull request #150 from agiledev-students-fall2022/explore-db
hassanhamdani Dec 2, 2022
7dcbb31
Added truncated group description to explore cards
asgomda Dec 2, 2022
6336d28
Updated unit tests with cookies
Dec 2, 2022
b35c94f
Merge pull request #151 from agiledev-students-fall2022/explore-db
ubadr Dec 2, 2022
c838cb2
Merge pull request #152 from agiledev-students-fall2022/updates-to-pr…
ubadr Dec 2, 2022
d91d062
Update README.md
ubadr Dec 2, 2022
e93ae6e
Update README.md
ubadr Dec 2, 2022
383a080
Added My Groups link from Navbar
Dev-Kalavadia Dec 3, 2022
e8684e3
Cleaning up code
Dev-Kalavadia Dec 3, 2022
d8fc594
Update README.md
asgomda Dec 3, 2022
4fa06c9
Created node.js yml file
asgomda Dec 5, 2022
7522069
Update export CI and front-end command
Dec 5, 2022
4d0d000
Add Dockerfile
Dec 5, 2022
e1787d4
Merge pull request #160 from agiledev-students-fall2022/myGroup
asgomda Dec 5, 2022
5dbd2e2
Update node.js.yml
asgomda Dec 5, 2022
3a04a1d
Merge pull request #161 from agiledev-students-fall2022/add-docker-files
asgomda Dec 5, 2022
5e3c98c
changed MyGroups Page Card and modal
Dev-Kalavadia Dec 5, 2022
2f6877e
Added delete button
Dev-Kalavadia Dec 5, 2022
e038789
Merge pull request #165 from agiledev-students-fall2022/myGroup
asgomda Dec 6, 2022
45ce6da
Remove redundant code
asgomda Dec 6, 2022
1aca17c
Merge branch 'master' into explore-db
asgomda Dec 6, 2022
44657f0
Merge pull request #166 from agiledev-students-fall2022/explore-db
mishaseo Dec 6, 2022
03ff68f
Undo changes to configuration
Dec 6, 2022
4fb9eb9
Merge pull request #167 from agiledev-students-fall2022/undo-changes
Dev-Kalavadia Dec 6, 2022
a192996
Uploaded images to cloudinary
Dec 7, 2022
2575274
Fixed timeout bug
Dec 7, 2022
c93edb8
Deleted file uploads
Dec 7, 2022
03319a0
Added loading state
Dec 7, 2022
ab2162f
Updated color of text
Dec 7, 2022
7a693c3
Merge pull request #171 from agiledev-students-fall2022/user-story/24…
asgomda Dec 7, 2022
efa9810
Added link to my groups
Dec 8, 2022
14c8854
Removed Google and Facebook login
Dev-Kalavadia Dec 8, 2022
d69a58e
Merge branch 'master' into myGroup
Dev-Kalavadia Dec 8, 2022
d4fcce2
Updated yml files for front and back end
Dec 8, 2022
bad0510
Added package-lock.json
Dec 8, 2022
1859bf2
Updated a build issue
Dec 8, 2022
8890079
Added package-lock.json
Dec 8, 2022
17929b5
Merge pull request #172 from agiledev-students-fall2022/user-story/24…
ubadr Dec 8, 2022
0c77eee
Merge pull request #174 from agiledev-students-fall2022/ci-fixes
ubadr Dec 8, 2022
98711c8
Added badge
Dec 8, 2022
f77178b
Added functionality to add events to calendar
asgomda Dec 8, 2022
50ba3ef
Merge branch 'master' into explore-db
asgomda Dec 8, 2022
95780d8
added package-lock
asgomda Dec 8, 2022
51750e5
Merge branch 'explore-db' of https://github.com/agiledev-students-fal…
asgomda Dec 8, 2022
695cf69
added new changes into package-lock
asgomda Dec 8, 2022
b980f6c
Merge pull request #175 from agiledev-students-fall2022/ci-fixes
asgomda Dec 8, 2022
41c5ba3
Merge pull request #176 from agiledev-students-fall2022/explore-db
ubadr Dec 8, 2022
e8252f8
Cloudinary fixes
asgomda Dec 8, 2022
71de004
Merge pull request #177 from agiledev-students-fall2022/explore-db
ubadr Dec 8, 2022
e93d572
Enhanced user experience
ubadr Dec 8, 2022
fd840b8
Merge pull request #178 from agiledev-students-fall2022/enhance3
asgomda Dec 8, 2022
7010b8a
Removed third party authentication logos
Dev-Kalavadia Dec 8, 2022
41a4e70
Merge branch 'master' into myGroup
Dev-Kalavadia Dec 8, 2022
e00c2d2
Merge pull request #179 from agiledev-students-fall2022/myGroup
mishaseo Dec 8, 2022
d9769ed
Added an Error page
Dev-Kalavadia Dec 8, 2022
93e5b27
Merge branch 'master' into myGroup
Dev-Kalavadia Dec 8, 2022
d73d980
Merge pull request #183 from agiledev-students-fall2022/myGroup
mishaseo Dec 8, 2022
8cb0c07
Update README.md
asgomda Dec 13, 2022
ada4efc
Update README.md
asgomda Dec 13, 2022
785cfdb
Update README.md
asgomda Dec 13, 2022
ddea1c0
fix minor regex bug
ubadr Dec 15, 2022
284d914
Update README.md
asgomda Dec 16, 2022
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
80 changes: 40 additions & 40 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,46 @@ version: 2.1

# Define the jobs we want to run for this project
jobs:
build-and-test-express-js:
docker:
- image: cimg/node:16.13.0 # latest stable node at the time of writing
# auth:
# username: mydockerhub-user
# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: echo "this is the build and test express.js job"
- run: |
cd back-end
pwd # for debugging: show current working directory
ls # for debugging: show sub-directories in here
- run: |
cd back-end
npm install # install all dependencies listed in package.json
npm test # run all unit tests
build-react-js:
docker:
- image: cimg/node:16.13.0 # latest stable node at the time of writing
# auth:
# username: mydockerhub-user
# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: echo "this is the build react.js job"
- run: |
cd back-end
pwd # for debugging: show current working directory
ls # for debugging: show sub-directories in here
- run: |
cd front-end
npm install # install all dependencies listed in package.json
npm run build # have react build the stand-alone front-end code
build-and-test-express-js:
docker:
- image: cimg/node:16.13.0 # latest stable node at the time of writing
# auth:
# username: mydockerhub-user
# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: echo "this is the build and test express.js job"
- run: |
cd back-end
pwd # for debugging: show current working directory
ls # for debugging: show sub-directories in here
- run: |
cd back-end
npm install # install all dependencies listed in package.json
npm test # run all unit tests
build-react-js:
docker:
- image: cimg/node:16.13.0 # latest stable node at the time of writing
# auth:
# username: mydockerhub-user
# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: echo "this is the build react.js job"
- run: |
cd back-end
pwd # for debugging: show current working directory
ls # for debugging: show sub-directories in here
- run: |
cd front-end
npm install # install all dependencies listed in package.json
npm run build # have react build the stand-alone front-end code

# Orchestrate our job run sequence
workflows:
build-and-test-back-end:
jobs:
- build-and-test-express-js
build-front-end:
jobs:
- build-react-js
build-and-test-back-end:
jobs:
- build-and-test-express-js
build-front-end:
jobs:
- build-react-js
36 changes: 36 additions & 0 deletions .github/workflows/back-end.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Back-end CI

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "0 2 * * 1-5"

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: |
cd back-end
npm ci
npm run build --if-present

# - run: npm test
34 changes: 34 additions & 0 deletions .github/workflows/front-end.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Front-end CI

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "0 2 * * 1-5"

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: |
cd front-end
npm ci
npm run build --if-present
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ node_modules/
jspm_packages/
**/jspm_packages

# public uploads Directory
public/*
!public/uploads/

# Results of React build script
build/
**/build/
Expand Down Expand Up @@ -114,6 +118,9 @@ typings/
# dotenv environment variables file
.env

# dotenv environment variables file
/*.env

# next.js build output
.next

Expand Down
78 changes: 77 additions & 1 deletion 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)
Thank you for putting in the time to contribute to our project! </br>
Continue reading to get an overview of our team norms as well as the contribution workflow.
## Team norms
### Team values
#### How the team will work together
* All team members will contribute to the project during every sprint, working to complete their assigned tasks.
* All team members will attend and enagage in scheduled meetings on zoom or in-person.
#### How members who need help will solicit it from the others
* When issues arise, any member who needs help will communicate these issues through meetings or chat applications where other team members will address these issues and offer advice.
#### How the team will resolve conflicts
* How we will reach consensus when there are disagreements on direction
* All team members will sit down in a meeting and discuss the different directions, brainstorm other options which could incorporate these multiple ideas, and ultimatley have a majority vote on the desired direction.
* What to do when a member is failing to deliver on their obligations to the team
* The team should discuss with this member to find out the reason for this issue, and if the issues cannot be resolved, the team will go to management to discuss a better option.
* How quickly team members are expected to respond to messages directed at them
* Team members are expected to respond to messages directed at them the same day the message is sent.


### Sprint cadence
* 2 weeks per sprint

### Daily standups
* Standups will occur on the following days: (Based off of the class schedule)
* 10/13/2022
* 10/20/2022
* 11/01/2022
* 11/03/2022
* 11/08/2022
* 11/15/2022
* 11/17/2022
* 11/22/2022

* The time in which the the standups will occur will be discussed amongst the team members through a chat application
* The standups will last for 15 mintues.

* All members should attend.
* Members who do not make any progress for two standups or more will be reported to management.

### Coding standards
* Visual Studio Code will be the designated code editor.
* ESLint will be the designated code linter.
* Prettier will be used for formatting.
* Write self documenting code.
* Commented code should be deleted.
* Make small commits per bug or feature fix.
* Offer meaningul commit messages.
* All code must be working before being pushed, and the one who breaks the build must fix it.
* Code submitted for each task and spike must be reviewed by a peer and pass all tests before being merged into the main branch.

## Git workflow
The MealHub team uses a feature branch workflow. Developers will have access to two repositories:
* a centralized remote repository (Github repository) accessible by all team members
* a local clone of the remote repository


## How to make a contribution
* Clone this remote repository on GitHub to your local machine.
* Before making any changes, pull from the shared central repository to download the latest code.
* Create a new local branch and switch to it. Name the branch based off the user story, task, or spike associated to the changes that you plan to make.</br></br>
* Here is an example for a Task with identification number 4 belonging to a User Story with identificaation number 2:</br>
`git checkout -b user-story/2/task/4/implement-user-signup`</br></br>
* Update the task board in GitHub for this sprint by moving the card for this Task or Spike to the applicable "In Process" column.
* Make your changes locally and commit those changes to the local branch.
* Download the latest code from the master branch of the shared central repository, and merge it into the local feature branch and resolve any existing conflicts.
* Push the feature branch to the shared remote repository.
* You must issue a Pull Request to other teammates, asking that they accept the changes into the `master` branch.
* Update the task board in GitHub by moving the card for this Task or Sprint to the relevant "Awaiting Review" column.
## Rules of contributing
* Submit only relevant and appropriate code
* Touch only the necessary files related to the Tasks or Spikes you are working on
* Do not leave Tasks or Spikes unmerged with the master branch for more than two days.
* Make sure your code is clean following the coding standards listed here: [Coding standards](#coding-standards)
* Be descriptive in your PR.




121 changes: 110 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,119 @@
[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-c66648af7eb3fe8bc4f294546bfd86ef473780cde1dea487d3c4ff354943c9ae.svg)](https://classroom.github.com/online_ide?assignment_repo_id=8972803&assignment_repo_type=AssignmentRepo)
# Project Repository
[![Front End CI](https://github.com/agiledev-students-fall2022/final-project-team-mealhub/actions/workflows/front-end.yml/badge.svg)](https://github.com/agiledev-students-fall2022/final-project-team-mealhub/actions/workflows/front-end.yml)

This repository will be used for team projects.
[![Back End CI](https://github.com/agiledev-students-fall2022/final-project-team-mealhub/actions/workflows/back-end.yml/badge.svg)](https://github.com/agiledev-students-fall2022/final-project-team-mealhub/actions/workflows/back-end.yml)

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.
# MealHub

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.
Live Url: [Mealhub](https://mealhub.vercel.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)
## Product Vision Statement

1. See the [Sprint Planning instructions](instructions-0d-sprint-planning.md) for the requirements of Sprint Planning for each Sprint.
An application that allows you to meet new people and enjoy the restaurant down the street you have been dying to try.

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

1. See the [Back-End Development instructions](./instructions-2-back-end.md) for the requirements of the initial Back-End Development.
We will group you with others looking to go to the same restaurant. By going as a larger group, you will be able to meet new people.

1. See the [Database Integration instructions](./instructions-3-database.md) for the requirements of integrating a database into the back-end.
Each user has the ability to either create a room for a specific cuisine, or join an existing one. Once a room has reached the desired number of people that is set by the creator of the room, the room closes. The time and date are also set.

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

- Gomda, Abdul Samad| <a href="https://github.com/asgomda">GitHub</a></br>

- Badr| <a href="https://github.com/ubadr">GitHub</a></br>

- Kalavadiya, Dev| <a href="https://github.com/Dev-Kalavadia">GitHub</a></br>

- Hamdani Hussain, Hassan| <a href="https://github.com/hassanhamdani"> GitHub</a></br>

- Seo, Misha| <a href="https://github.com/mishaseo"> GitHub </a>

## Project History

Being part of the billions of people who enjoy hanging out with others and eating, we wanted to find an easier way to coordinate this favorite pastime of ours. Originally, we discussed and agreed on the fact that meeting new people nowadays has become very difficult, so we thought to ourselves, "Why not create an application where you can meet new people?". However, being the foodies we are, we also considered creating an application where we could find local good eats. Then the magic happened, and we realized that we should combine the two, since finding people to eat with can be difficult, and sometimes going alone to new places to eat can be a bit boring or lonely, but more importantly sometimes the best bonds can be made over a good meal. These ideas ultimately led to the creation of MealHub.

## Environment Variables

To run this project, you will need to add the following environment variables to your .env file

#### Backend:

`PORT=3001`

`NODE_ENV=development`

`MONGO_URI=mongodb+srv://mealhub12345:[email protected]/?retryWrites=true&w=majority`

`JWT_SECRET="catdog"`

`HEADER_URL=http://localhost:3000`

`CLOUDINARY_CLOUD_NAME=asgomda`

`CLOUDINARY_API_KEY=681632229379417`

`CLOUDINARY_API_SECRET=77uyU1Xp2Kek_gOVvFWPgzlrXX4`

`CLOUDINARY_URL=cloudinary://681632229379417:77uyU1Xp2Kek_gOVvFWPgzlrXX4@asgomda`

#### Frontend:

`PORT=3000`

`REACT_APP_URL=http://localhost:3001`

## Run Locally

Clone the project

```bash
git clone https://github.com/agiledev-students-fall2022/final-project-team-mealhub.git
```

Go to the project directory

```bash
cd final-project-team-mealhub
```

Install dependencies (in both frontend and backend)

```bash
cd front-end
npm install
```

AND

```bash
cd back-end
npm install
```

Start the server

```bash
nodemon server
```

Start the front-end

```bash
npm start
```

## Running Tests

To run tests, run the following command

```bash
npm test
```

## Contributions

For a guide on contributing, please reference <a href="https://github.com/agiledev-students-fall2022/final-project-team-mealhub/blob/master/CONTRIBUTING.md">CONTRIBUTING.MD</a>

## Other information

Check back at a later time for any updates!
Loading