Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
01635b5
react setup
chongct Feb 14, 2018
0da0c5e
bootstrap setup
chongct Feb 14, 2018
6226319
edited README.md
limjiechao Feb 14, 2018
dd35eee
functional map
chongct Feb 15, 2018
b8a108f
Merge branch 'master' of https://github.com/chongct/project-4
chongct Feb 15, 2018
468e3cc
locations connected to DB
chongct Feb 16, 2018
222aee0
Merge branch 'chongct'
chongct Feb 16, 2018
df8e59d
itinerary and per-day table components
limjiechao Feb 19, 2018
0b0818d
Test for getting target id
Feb 19, 2018
a639482
Added routes, homecontroller
speedchan Feb 19, 2018
a796ae1
location controller CRD
chongct Feb 19, 2018
de5af75
Merge branch 'backend' of https://github.com/chongct/project-4 into c…
Feb 19, 2018
a236062
updated app.js with mock event add
Feb 19, 2018
5ba77e9
routes, homecontroller
speedchan Feb 19, 2018
19510e4
Event and Trip Model Added. Trip Controller Partial
keed Feb 19, 2018
8025acf
Updated Routes
keed Feb 20, 2018
ba47c63
minor changes to amke sure everything is ok
speedchan Feb 20, 2018
8df188d
commit for handing over to Speed
limjiechao Feb 20, 2018
5d489f6
Merge branch 'UI-merge' of https://github.com/chongct/project-4 into …
speedchan Feb 20, 2018
c0fc881
Updated Routes,TripController and Server.js
keed Feb 20, 2018
ff35b8f
Package Update
keed Feb 20, 2018
cfabb26
Updated package.json
keed Feb 20, 2018
93942f4
add btn in map
chongct Feb 20, 2018
03e2725
Current working build for testing Event Controller Functionalities
Feb 20, 2018
0fd04dd
Merge branch 'UI-merge' of https://github.com/chongct/project-4 into …
Feb 20, 2018
88c9fce
ENV and Package.json
keed Feb 20, 2018
001d610
Procfile
keed Feb 20, 2018
380226d
merged home.js and related files
limjiechao Feb 20, 2018
ef2178b
Updated Package.json
keed Feb 20, 2018
5bb0676
styling changes
speedchan Feb 20, 2018
6c02de4
Merge branch 'UI-merge' of https://github.com/chongct/project-4 into …
speedchan Feb 20, 2018
f95bf19
Merge branch 'UI-merge' into spd
speedchan Feb 20, 2018
5f13cef
merged with CTs UI-merge
speedchan Feb 20, 2018
ef1787f
Displaying data in Locations Container
Feb 20, 2018
0c7671e
Merge branch 'UI-merge' of https://github.com/chongct/project-4 into …
Feb 20, 2018
3b3cd28
Updated Package.json
keed Feb 20, 2018
863c771
Locations Column Data Retrieval Setup.
Feb 20, 2018
4c6471d
Update package.json
keed Feb 20, 2018
c820c4b
deleted fake homecontroller
speedchan Feb 20, 2018
f41bb2b
Merge branch 'master' of https://github.com/chongct/project-4 into spd
speedchan Feb 20, 2018
0b55c2c
add locations function in progress
chongct Feb 20, 2018
259df48
fix event controller
chongct Feb 20, 2018
8597e96
add locations btn in progress
chongct Feb 20, 2018
aa35ebd
days and tabs
Feb 20, 2018
985ef37
add from location to itinerary in progress
Feb 20, 2018
f6cf697
add location function completed
chongct Feb 21, 2018
298bd01
minor changes
speedchan Feb 21, 2018
ca88c1a
Merge branch 'master' into spd
speedchan Feb 21, 2018
76fa2bd
responsive landing page
limjiechao Feb 21, 2018
658685b
renamed App.css to Home.css to avoid conflicts
limjiechao Feb 21, 2018
308303e
Merge branch 'master' of https://github.com/chongct/project-4 into em…
limjiechao Feb 21, 2018
7225e6a
del location function completed
chongct Feb 21, 2018
f3b2c4e
Updated Package.json
keed Feb 21, 2018
195d657
Merge branch 'master' of https://github.com/chongct/project-4
limjiechao Feb 21, 2018
bb488fa
Updated for Deployment
keed Feb 21, 2018
75803b4
modified searched locations list
limjiechao Feb 21, 2018
49cd331
Merge branch 'master' of https://github.com/chongct/project-4
limjiechao Feb 21, 2018
2d65216
date, event, itinerary
Feb 21, 2018
fcc5023
Updated API links
keed Feb 21, 2018
cef616a
Merge branch 'master' of https://github.com/chongct/project-4
keed Feb 21, 2018
0aca92d
Delete secrets.env
keed Feb 21, 2018
14e00ea
Updated gitignore
keed Feb 21, 2018
2ce54ff
Merge branch 'master' of https://github.com/chongct/project-4
keed Feb 21, 2018
9f053a5
UI changes!
speedchan Feb 21, 2018
3d89498
fix model reference
chongct Feb 21, 2018
e20e32d
Current build with connected update button
Feb 21, 2018
303b02d
Merge branch '20feb' of https://github.com/chongct/project-4 into 20feb
Feb 21, 2018
b284b0d
model routes and itinary
Feb 21, 2018
a8c1715
Latest build with working refs for update
Feb 21, 2018
f20565e
merge for itinerary
Feb 21, 2018
f542f84
event, app
Feb 21, 2018
adf4f99
merged spd with master
speedchan Feb 21, 2018
935d153
WOrking CRUD for events
Feb 21, 2018
1d229ef
css changes
speedchan Feb 21, 2018
ed40cfa
Merge branch '20feb' of https://github.com/chongct/project-4 into 20feb
speedchan Feb 21, 2018
4799547
prepare to merger front end
Feb 21, 2018
a9dc50a
Merge branch '20feb' of https://github.com/chongct/project-4 into 20feb
Feb 21, 2018
709ed17
updated the reverse order and latest
Feb 21, 2018
c22097a
Latest build
Feb 22, 2018
b3e1782
Merge branch '20feb' of https://github.com/chongct/project-4 into 20feb
Feb 22, 2018
918b8ff
mend merge errors
chongct Feb 22, 2018
e9d8181
spd change
speedchan Feb 22, 2018
b861749
fixed small erors
speedchan Feb 22, 2018
4b4e2ab
changes to Dates, DayTable, Locations
Feb 22, 2018
b747d9e
fix merge errors
chongct Feb 22, 2018
b9ae7a4
fix merge errors
chongct Feb 22, 2018
6758c15
Latest build with disconnected Events & Locations Models
Feb 22, 2018
5f757b2
Merge branch '21feb' of https://github.com/chongct/project-4 into 21feb
Feb 22, 2018
2b91793
Latest build
Feb 22, 2018
51c1611
fixing css
speedchan Feb 22, 2018
e1bd7cb
Fixed descriptions display
Feb 22, 2018
46193d1
MERGED WITH 21FEB 1151AM
speedchan Feb 22, 2018
a8f76b3
updated README.md
Feb 22, 2018
7a474d1
replaced dummy text in home.js
Feb 22, 2018
7248941
Updated Trip Controller and Map API
keed Feb 22, 2018
0770041
making home.js the landing page
limjiechao Feb 22, 2018
afafeb9
Merge branch '21feb' of https://github.com/chongct/project-4 into 21feb
limjiechao Feb 22, 2018
d56f7bc
Merge branch 'master' of https://github.com/chongct/project-4
limjiechao Feb 22, 2018
dfdf713
Removed Unused files and console logs
keed Feb 22, 2018
9be8d82
scroll on event table
chongct Feb 22, 2018
e3dc9ca
Merge branch '21feb' of https://github.com/chongct/project-4 into 21feb
chongct Feb 22, 2018
aa1cf50
home.js is the landing page
limjiechao Feb 22, 2018
0c9b5b4
css for app and locations
speedchan Feb 22, 2018
edabe07
Merge branch '21feb' into spd
speedchan Feb 22, 2018
0d922b0
Cleaned up unnecessary code
Feb 22, 2018
353efd9
more css, plus scroll to top
speedchan Feb 22, 2018
8e7f830
Cleaned up the code a tad more
Feb 22, 2018
b0b012e
Merge branch '21feb' of https://github.com/chongct/project-4 into 21feb
Feb 22, 2018
b9f771a
merged with kt
speedchan Feb 22, 2018
6aeff68
Minor changes
Feb 22, 2018
96ccd0d
Merge branch '21feb' of https://github.com/chongct/project-4 into 21feb
Feb 22, 2018
b95da28
react routing completed
limjiechao Feb 22, 2018
f1734f3
As requested by Boss
Feb 22, 2018
048a821
controller
Feb 22, 2018
0614e48
Merge branch 'trip' into 21feb
Feb 22, 2018
5296d20
changed logo n conflict between pages
speedchan Feb 22, 2018
cea66b3
spd merge with mupdated master
speedchan Feb 22, 2018
5a664d0
Updated React Routes
keed Feb 22, 2018
33e29b0
changes
speedchan Feb 22, 2018
35b2cf0
Merge branch 'master' into spd
speedchan Feb 22, 2018
978bcb0
small change to app.js
speedchan Feb 22, 2018
78963cb
rename CSS class .logo to .brand in Home.css
limjiechao Feb 22, 2018
6b41746
Merge branch 'master' into spd
speedchan Feb 22, 2018
02f9776
Update backend routes
keed Feb 22, 2018
f0b1c74
Merge branch 'master' of https://github.com/chongct/project-4
keed Feb 22, 2018
9197fad
integrate trip id
chongct Feb 22, 2018
2882b25
Merge branch 'master' of https://github.com/chongct/project-4
chongct Feb 22, 2018
4d74b01
change on controller
Feb 22, 2018
ed155ef
Updated Backend Routes
keed Feb 22, 2018
3715add
updated erd
Feb 22, 2018
6f29eab
Updated Trip Controller
keed Feb 22, 2018
04e4f1f
wanna revert back
Feb 22, 2018
d92d4f9
trip id for locations
chongct Feb 22, 2018
49eea84
Merge branch 'master' of https://github.com/chongct/project-4
chongct Feb 22, 2018
16f304b
removed text field
limjiechao Feb 22, 2018
0c10deb
Merge branch '21feb'
Feb 22, 2018
3b61fd8
Merge branch 'masTemp'
Feb 22, 2018
c8f6022
edit of controller tripID
Feb 22, 2018
43372a0
trip id for locations del fn
chongct Feb 22, 2018
e30edfe
Merge branch 'master' of https://github.com/chongct/project-4
chongct Feb 22, 2018
37b1457
Update Trip Controller and Trip Routes
keed Feb 22, 2018
0220386
working on event trip id
Feb 22, 2018
d5ac993
Merge branch 'master' of https://github.com/chongct/project-4
Feb 22, 2018
cc7886a
fixes to css
speedchan Feb 22, 2018
b9350b4
Merge branch 'master' of https://github.com/chongct/project-4
speedchan Feb 22, 2018
3bca970
URL now shows in share URL text field
limjiechao Feb 22, 2018
a9d154c
event routes
Feb 22, 2018
8c98350
Merge branch 'master' of https://github.com/chongct/project-4
Feb 22, 2018
6438836
updated ERD
Feb 22, 2018
45682c1
Updated Trip Controller
keed Feb 22, 2018
a7bac57
app
Feb 22, 2018
56e4350
Merge branch 'master' of https://github.com/chongct/project-4
Feb 22, 2018
dab2269
widened url copy bar
speedchan Feb 22, 2018
41a0798
Merge branch 'master' of https://github.com/chongct/project-4
speedchan Feb 22, 2018
7be2c1e
updated ERD
Feb 22, 2018
0682803
error with date
Feb 22, 2018
de91dae
Merge branch 'master' of https://github.com/chongct/project-4
Feb 22, 2018
9a40ec4
copy URL to clipboard with popover to notify user
limjiechao Feb 22, 2018
e8006ce
Merge branch 'master' of https://github.com/chongct/project-4
speedchan Feb 22, 2018
81cca8f
Merge branch 'master' of https://github.com/chongct/project-4
Feb 22, 2018
ab8c5b3
Merge branch 'master' of https://github.com/chongct/project-4
speedchan Feb 22, 2018
0c196c6
heroku
Feb 22, 2018
ba3ba7e
updated flowchart
Feb 22, 2018
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
103 changes: 103 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

# Created by https://www.gitignore.io/api/osx,node,macos

### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
secrets.env


### OSX ###

# Icon must end with two \r

# Thumbnails

# Files that might appear in the root of a volume

# Directories potentially created on remote AFP share


# End of https://www.gitignore.io/api/osx,node,macos
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: yarn start:prod
91 changes: 55 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,84 @@
# Your Project Name
# ![](https://ga-dash.s3.amazonaws.com/production/assets/logo-9f88ae6c9c3871690e33280fcf557f33.png) Project 4 – TripCollab Expanded

This is the starter code for WDI projects. Please update this README file with information specific to your project. Replace this paragraph for instance, with a short description of your project. Then update the sections below. Refer to your project specificaion for instructions on how to submit your projects.
Our group is developing a website with a centralised, easy-to-use travel itinerary in a single view which can be collaborated and shared with travel friends making travel planning more fun without any hassle.

## Getting Started

Provide instructions here about how to get your project running on our local machine. Do we just need to clone and open a certain file or do we need to install anything first.

### Prerequisites
Live version: https://tripcollab-v2.herokuapp.com/

What is needed to install and run the project, how do we install them

```
Code example
```
---

## Getting Started
### How to Use
* Fork and clone this repository.
* Open terminal and run ```yarn install``` to install dependencies.
* Run ```yarn start```.

A step by step guide on how to install and use the project, for example if this is a game, how do we play it.
---

## Built With
* Technologies: React, Node.js
* Database: MongoDB
* CSS Framework: Bootstrap 4.0

```
Code example
```
---

More steps...
## Deployment & Versioning
* Github
* Heroku

```
until finished
```
---

## Workflow
### Entity-Relationship Diagram
![p4_erd](https://user-images.githubusercontent.com/31798170/36540300-cb5d74a6-1814-11e8-92b7-dd616885589a.png)

## Tests
---

Did you write automated tests? If so, how do we run them.
### User Stories
![p4 user stories](https://user-images.githubusercontent.com/31798170/36518579-f591fde4-17c1-11e8-86fa-507fc7c83dca.png)

---

```
Code example
```
### Use Case
![p4 use case](https://user-images.githubusercontent.com/31798170/36517157-31ab1938-17bc-11e8-8c09-ffcb18f84878.png)

## Live Version
---

Where is this deployed online (github pages, heroku etc), give us the link and any access details we need.
### Flowchart
![p4 flowchart](https://user-images.githubusercontent.com/31798170/36543397-9fb85cd0-181e-11e8-8d5b-a90f7354bb96.png)

## Built With
---

What did you use to build it, list the technologies, plugins, gems, packages etc.
### Wireframe
![p4_wireframe](https://user-images.githubusercontent.com/31798170/36517183-58883ca2-17bc-11e8-90c0-e9d5028f26f0.png)

* [jQuery](http://jquery.com/) - jQuery for example is something you likely used
![wireframe](https://user-images.githubusercontent.com/31798170/36540329-e53e5174-1814-11e8-8fa0-f153f6e1f86f.png)
---

## Workflow
# Scalable Areas
* Share trip url via email.
* Allow upvote and downvote on each location.

---

Did you write user stories, draw wireframes, use task tracking, produce ERDs? Did you use source control, with regular commits? Include links to them here.
## Project Collaboration
* Trello Project Management application

## Authors
![trello](https://user-images.githubusercontent.com/31798170/36472250-3cf73956-172c-11e8-9582-d4665b5f220c.jpeg)

Did you collaborate with others on this project, list them here
### Authors
* [Darren Koh](https://github.com/keed)
* [Chong Ching Tong](https://github.com/chongct)
* [Edmund Teo](https://github.com/edmundtck)
* [Wong Kin Ting](https://github.com/strisen)
* [Speed Chan](https://github.com/knownopear)
* [Lim Jiechao](https://github.com/limjiechao)
* [Poh Yan Jie](https://github.com/empludo)
* [Jo Sho](https://github.com/emjys)

* **John McClain** - *Responsible for keeping vests white* - [GithubUserName](https://github.com/GithubUserName)
---

## Acknowledgments

* Hat tip to anyone who's code was used, for example [this was a useful starting point for creating this template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2).
* Homepage Photo by Helena Lopes on Unsplash

---
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "tripcollab-v2-project4",
"main": "index.js",
"license": "MIT",
"dependencies": {
"concurrently": "^3.5.1",
"dotenv": "^5.0.0",
"react-fontawesome": "^1.6.1"
},
"scripts": {
"build": "concurrently \"cd tripcollab-client && yarn build\" \"cd tripcollab-server && yarn build\"",
"install": "(cd tripcollab-client && yarn) && (cd tripcollab-server && yarn)",
"start": "concurrently \"cd tripcollab-client && PORT=3000 yarn start\" \"cd tripcollab-server && PORT=3001 yarn start\"",
"start:prod": "cd tripcollab-server && yarn start:prod",
"heroku-postbuild": "cd tripcollab-client && npm install && npm install --only=dev --no-shrinkwrap && npm run build"
}
}
Binary file added readme_images/P4 Flowchart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/P4 Use Case.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/P4 User Stories.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/P4_ERD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/P4_Wireframe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/Trello.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_images/wireframe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions tripcollab-client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
24 changes: 24 additions & 0 deletions tripcollab-client/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "tripcollab-client",
"version": "0.1.0",
"private": true,
"dependencies": {
"bootstrap": "^4.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-fontawesome": "^1.6.1",
"react-google-maps": "^9.4.5",
"react-modal": "^3.3.1",
"react-router-dom": "^4.2.2",
"react-scripts": "1.1.1",
"reactstrap": "^5.0.0-beta",
"recompose": "^0.26.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"proxy": "http://localhost:3001/"
}
31 changes: 31 additions & 0 deletions tripcollab-client/public/assets/add-contact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading