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 139 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
cab18dd
Setting up GitHub Classroom Feedback
DrTamerAldwairi Oct 27, 2020
ba51ac3
Update GitHub Classroom Feedback
DrTamerAldwairi Oct 27, 2020
ef5219b
Setting up GitHub Classroom Feedback
DrTamerAldwairi Oct 27, 2020
94ee3f2
added basic web app script
SebTota Oct 27, 2020
fa816f1
Merge pull request #2 from 3296Fall2020/hello_world
ryan-SWE Oct 28, 2020
edacfc8
split frontend and backend
SebTota Oct 28, 2020
c01d034
Merge pull request #3 from 3296Fall2020/hello_world
ryan-SWE Oct 28, 2020
7b30aa3
python scripts for login done
shravanth1862 Nov 1, 2020
6043a2c
Front end logic for basic login system. Recapctcha security protocol.
ryan-SWE Nov 1, 2020
9c47cd7
Merge pull request #4 from 3296Fall2020/b_login
SebTota Nov 1, 2020
04bcc7b
Merge pull request #5 from 3296Fall2020/f_login
SebTota Nov 1, 2020
714ff7b
Create CNAME
SebTota Nov 2, 2020
194f364
Delete CNAME
SebTota Nov 2, 2020
2493209
Adding README
matthewvday Nov 2, 2020
7ef7f2f
Update README.md
matthewvday Nov 2, 2020
938e231
Merge pull request #8 from 3296Fall2020/README
ryan-SWE Nov 2, 2020
596bb6d
Update README.md
ryan-SWE Nov 2, 2020
5231215
Merge pull request #9 from 3296Fall2020/README
matthewvday Nov 2, 2020
98890f3
Added persona - Sebastian T
SebTota Nov 2, 2020
802d58d
Merge pull request #10 from 3296Fall2020/README
matthewvday Nov 2, 2020
93d6667
Update README.md
shravanth1862 Nov 3, 2020
7305402
Update README.md
shravanth1862 Nov 3, 2020
fef6b61
Update README.md
shravanth1862 Nov 3, 2020
5cf294b
Merge pull request #11 from 3296Fall2020/README
ryan-SWE Nov 3, 2020
bdba51f
split repo and removed backend scripts
SebTota Nov 3, 2020
85ecef6
Merge pull request #12 from 3296Fall2020/change_repo
ryan-SWE Nov 3, 2020
0a366d7
Removed redundant folders
ryan-SWE Nov 4, 2020
40ef618
Merge pull request #13 from 3296Fall2020/change_repo
SebTota Nov 4, 2020
0924536
created signup form
ryan-SWE Nov 4, 2020
af2f5fa
added sign up to nav bar
ryan-SWE Nov 4, 2020
8ab595c
Sign up method headers
ryan-SWE Nov 4, 2020
7d28f98
signup format
ryan-SWE Nov 4, 2020
310a1f3
Update nav bar, sign up button on-click redirect
ryan-SWE Nov 4, 2020
ca92871
Create CNAME
SebTota Nov 4, 2020
a4915ed
Fixed redirection link.
SebTota Nov 4, 2020
d7e29e7
Merge pull request #14 from 3296Fall2020/change_repo
ryan-SWE Nov 4, 2020
4678f0e
Redirection
ryan-SWE Nov 4, 2020
2c1da18
sign up form validation
ryan-SWE Nov 4, 2020
0c6de5a
sign up form additions
ryan-SWE Nov 4, 2020
e7275ff
Split name into two fields
ryan-SWE Nov 4, 2020
5b90092
Fixed bug where password could be left blank
ryan-SWE Nov 4, 2020
79efa33
Fixed changed on sign up page.
SebTota Nov 4, 2020
e55bf2e
Merge branch 'main' into f_signup
SebTota Nov 4, 2020
b2dbe56
Merge pull request #15 from 3296Fall2020/f_signup
matthewvday Nov 5, 2020
3abe4c6
Finished user sign authentication system.
SebTota Nov 6, 2020
b401a28
Merge remote-tracking branch 'origin/f_signup' into f_signup
SebTota Nov 6, 2020
b209cbd
Fixed server address.
SebTota Nov 6, 2020
cbed197
removed unused file
SebTota Nov 6, 2020
e6b44b4
Merge pull request #16 from 3296Fall2020/f_signup
ryan-SWE Nov 10, 2020
c2a7c83
Added stuff
SebTota Nov 11, 2020
4d4e7d1
Added example group request template.
SebTota Nov 14, 2020
c8a8a1f
Added group invite display to profile page
SebTota Nov 16, 2020
76c2c0e
Uncommented sign up form check
SebTota Nov 17, 2020
a7655a7
Merge pull request #18 from 3296Fall2020/group-requests
ryan-SWE Nov 17, 2020
45ddf18
Finished group invite system.
SebTota Nov 17, 2020
804e5e3
Added group list display to the profile page.
SebTota Nov 18, 2020
dae6f51
Added logo and main page design. Changed fetch request headers.
SebTota Nov 19, 2020
1c95463
Added missing logos.
SebTota Nov 19, 2020
7be64f3
Added missing file and changed default server host.
SebTota Nov 19, 2020
c8c3d8f
Fixed recaptcha
SebTota Nov 19, 2020
73dccce
Changed sign out system.
SebTota Nov 20, 2020
e8cf1da
Added check login to sign out.
SebTota Nov 20, 2020
aec254f
Removed check login from profile page script.
SebTota Nov 20, 2020
10fc1af
Changed sign in status check.
SebTota Nov 20, 2020
d1f40e5
Temp fix for stuck login page.
SebTota Nov 20, 2020
e2b256d
Removed login check on login page.
SebTota Nov 20, 2020
ea69c5d
Fixed jquery load.
SebTota Nov 20, 2020
508f756
Fixed server ip address.
SebTota Nov 20, 2020
e043fa8
Removed unused function.
SebTota Nov 20, 2020
730a559
Take user to profile page if already logged in.
SebTota Nov 20, 2020
3ca9740
Code cleanup
SebTota Nov 20, 2020
ebd59ca
Remove login check on login page.
SebTota Nov 20, 2020
683d331
Fixed file import.
SebTota Nov 20, 2020
4e5ffb2
Added missing file import on main page.
SebTota Nov 20, 2020
69d755a
Minor bug fixes.
SebTota Nov 20, 2020
8504a55
Replaced storage with cookies.
SebTota Nov 21, 2020
f261830
Fixed cookie problem with sign out.
SebTota Nov 25, 2020
842fe9b
Fixed server ip.
SebTota Nov 25, 2020
dfe080a
Removed function call for a function that no longer exists.
SebTota Nov 25, 2020
e75c9e4
Merge pull request #19 from 3296Fall2020/profile-page
ryan-SWE Nov 25, 2020
9fc4fa6
Added group name to profile url.
SebTota Nov 25, 2020
05f663f
Fixed server url.
SebTota Nov 25, 2020
944aeca
Display group name.
ryan-SWE Nov 26, 2020
8766758
Display group name.
ryan-SWE Nov 26, 2020
d7e54d9
Change to display group name
ryan-SWE Nov 26, 2020
2dd3ccc
Added change list element modal, code cleanup.
SebTota Nov 26, 2020
0a4167f
Fixed server url.
SebTota Nov 26, 2020
d3b8783
Added port to server address.
SebTota Nov 26, 2020
857fb25
Added group user display.
SebTota Nov 27, 2020
a9958cb
DataTable for single group elements
ryan-SWE Nov 28, 2020
36e0eb0
Added functions for populating dataTable
ryan-SWE Nov 28, 2020
d18643a
Datatable css styling
ryan-SWE Nov 28, 2020
6ff9b07
Multi-table display
ryan-SWE Nov 29, 2020
b069c08
Cleaned up code. Multi-table functionality.
ryan-SWE Nov 29, 2020
79fc96e
CSS Stylings
ryan-SWE Nov 30, 2020
ac20604
Css datatable button import, additional list display, create list button
ryan-SWE Nov 30, 2020
c4ba922
Creation of new lists, list limit of five, rendering of table headers…
ryan-SWE Nov 30, 2020
c70658c
New item modal stylings
ryan-SWE Nov 30, 2020
46601ae
New item functions
ryan-SWE Nov 30, 2020
4b6d0fa
New item Modal
ryan-SWE Nov 30, 2020
517c03c
delete list css
ryan-SWE Nov 30, 2020
7f6f7eb
delete list functions. misc comments.
ryan-SWE Nov 30, 2020
0e656a1
confirm deletion modal.
ryan-SWE Nov 30, 2020
cab7305
Create group modal
ryan-SWE Nov 30, 2020
bf512df
Create new group functions
ryan-SWE Nov 30, 2020
7f38a41
Create new group
ryan-SWE Nov 30, 2020
b1e6d8d
Merge pull request #20 from 3296Fall2020/group_lists_of_lists
SebTota Nov 30, 2020
39ba4e3
Merge branch 'main' into profile-page
SebTota Nov 30, 2020
e9fbc72
Merge pull request #21 from 3296Fall2020/profile-page
ryan-SWE Nov 30, 2020
4288d0b
Update script.js
SebTota Nov 30, 2020
9225498
Merge pull request #22 from 3296Fall2020/profile-page
ryan-SWE Nov 30, 2020
5609531
Bug fixes.
SebTota Nov 30, 2020
c327465
Merge pull request #23 from 3296Fall2020/profile-page
ryan-SWE Nov 30, 2020
6c6036b
Change group name in url params.
SebTota Dec 1, 2020
c3c1879
Merge pull request #24 from 3296Fall2020/profile-page
shravanth1862 Dec 1, 2020
566333d
Editing item
ryan-SWE Dec 1, 2020
8021fbe
Editing item html
ryan-SWE Dec 1, 2020
fffdc72
Deleting an item
ryan-SWE Dec 1, 2020
4666230
Pesky checkboxes
ryan-SWE Dec 1, 2020
d17ba74
Deleting checkboxes broke some stuff so fixed that stuff
ryan-SWE Dec 1, 2020
17d3550
Fixed call to deleteListModal()
ryan-SWE Dec 1, 2020
968e1dd
Should've never deleted those checkboxes...
ryan-SWE Dec 1, 2020
a9cbb41
Fixed serverAddress
ryan-SWE Dec 1, 2020
a3bf45e
deleted comments
ryan-SWE Dec 1, 2020
67f4821
Merge pull request #25 from 3296Fall2020/edit_delete
shravanth1862 Dec 1, 2020
d5f816a
Fixed bug where edit item could add new item if no item was selected
ryan-SWE Dec 1, 2020
8033f01
Merge pull request #26 from 3296Fall2020/edit_delete
SebTota Dec 1, 2020
d880f6a
Fixed bug where add item modal button was failing. Fixed edit item wh…
ryan-SWE Dec 1, 2020
41392c9
Merge pull request #27 from 3296Fall2020/edit_delete
matthewvday Dec 1, 2020
fadf392
Update README.md
ryan-SWE Dec 1, 2020
9ba9ac4
Add files via upload
SebTota Dec 2, 2020
490e815
Delete Screen_Shot_2020-12-01_at_4.44.47_PM.png
SebTota Dec 2, 2020
e81a586
Add files via upload
SebTota Dec 2, 2020
cc40025
Update README.md
SebTota Dec 2, 2020
e935124
Merge pull request #28 from 3296Fall2020/README
matthewvday Dec 2, 2020
b4e47bc
Merge pull request #29 from 3296Fall2020/main
SebTota Dec 6, 2020
6ecb431
Merge pull request #30 from 3296Fall2020/edit_delete
ryan-SWE Dec 6, 2020
76ff6a4
Merge pull request #31 from 3296Fall2020/main
SebTota Dec 6, 2020
ffea0e9
Merge pull request #32 from 3296Fall2020/profile-page
ryan-SWE Dec 6, 2020
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
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
camping.sebtota.com
93 changes: 93 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Camping Trip Planner
## by Ryan O'Connor, Sebastian Tota, Shravanth Surapaneni, Marcus Anestad and Matthew Day

### Reference Links
[Project Board](https://trello.com/b/uclUHtIM/camping-trip-planner)

[GitHub Repo](https://github.com/SebTota/Camping-Trip-Planner-Backend)

### User Features
* Create account
* Create new trips
* Invite friends to your trip planners
* Create multiple lists in each trip
* Edit/delete items on list
* Mobile friendly

### Security Features
* Hashing and encrypting user passwords
* ReCaptcha for bot prevention
* Protected endpoints using sessions, only allowing signed in users to access data

### Project Overview
_The goal of the project is to create an application for camping/outdoor trips. The project
functionality includes planning, responsibility sharing, and photo uploading. Users of the app
will be able to create a trip and invite friends. The focus of the planning section includes gear lists,
food menus, directions, and maps. Responsibility sharing includes signing up for bringing food/gear, keeping track of
how much each person spends, and a system for reimbursement after the trip. Finally, after the trip members can upload and
make comments on photos._

### Vision Statement
_For a group of adventure seekers who are planning an outdoors activity together the Camping
Trip Planner is a web app that allows groups to plan a trip together in a more intuitive and seamless
way unlike Google Sheets which takes longer to create._

### Personas

#### Julia, a college student

_Julia, age 21, is a senior CS major at Temple University in Philadelphia.
She grew up in Montgomery County, where she would enjoy hikes around the Wissahickon
with her family growing up. This extended to a true passion for outdoor activities and
does them to relax and escape the stresses of her daily life._

_With an increase in course difficulty on top of living in the age of COVID,
Julia relies heavily on weekly social distanced outings with her friends to
maintain her sanity. On a recent trip to the Poconos for some camping, her group
realized they forgot to bring anything substantial for dinner. Being out in the middle of
nowhere they had to drive 50 minutes to a supermarket to remedy the situation, cutting heavily
into their time with each other and nature. Being a person that is highly involved in the world of
new software technology, Julia wondered if there was an app that could help prevent an incident like
this in the future. Luckily, she stumbled across the Camping Trip Planner app. Since then,
every trip goes off without a hitch._

#### Juan, a father

_Juan is a parent of two. His family always looks forward to going on a yearly summer
canoe trips with the Smith’s. Juan is a doctor and pretty inexperienced when it comes
to new technology. However he loves learning new things. He hears about Camping Trip
Planner and excitedly calls Mr. Smith. They are easily able to set up profiles and
create a trip._

_Now they are easily able to organize and plan the trip. They are also able to get
their children (Smith, John, Smitty, and Johnny) involved and begin to teach them
everything that goes into organizing such a trip. They have a great time and plan
on using Camping Trip Planner for planning their trip next year._

#### Tracy, a middle school teacher

_Tracy, a middle school English teacher, is getting ready to take her class on a camping trip. Every year, the 8th-grade class takes a 3-day trip to the local campground as a celebration for graduating from middle school. This is Tracys first year taking her class, and she is worried about helping her students plan for the trip._

_With the Camping Trip Planner, she can sign all her students up into a single trip list to make sure enough supplies are brought, without over packing the busses. Rather than speaking to each student individually in the hopes they remember to bring what they are asked to bring, she makes a list of all the necessities, and has the student assign themselves to certain items. This way, Tracy can keep track of what has been tracked, and what is still missing._

#### Tyler, a boy scout troop leader
_Tyler is is the troop leader for his son's boy scout troop. He wants to take his troop camping this weeknd
to teach them outdoor skills. However, he can't expect a bunch of middle schoolers to remember to bring everything, he needed
to find an effecient way to organize everything in preperation for the trip. As we all know the boy scout motto is: "Be prepared",
so clearly had to think of everything._

_So, to deal with this he asks the parents of the kids in his troop for ideas and one of them suggests, Camping Trip Planner.
Tyler, looked into it and found that Camping Trip Planner not only lets him create a list for his trip, but also allows him to
add people to share the list with so that they could also collaborate and use it as a checklist. Tyler had found his solution,
he was able to add all the parents of the kids in his troop, and this way he has a way to keep track of everything and no longer
has to rely on the kids to make sure they have everything they will need._

### Testing
We focused mainly on manual testing for out application. We started with testing database functions in Python
Then, we created API route that used the database function and we would manually check to make sure that the database was updating as we expected for each database function/api route.

The API routes were tested with Postman by calling certain routes and manually checking the database. Once we tested it with postman, we would integrate the endpoint with out website and continue manual checking of the database and results being shown.

To make teseting easier, we added code to the Python API web service that would check if we were running on localhost. If we were, that meant we were in testing mode and we could bypass the reCaptcha for authentication making testing a bit easier.

![](postman.png)
Loading