forked from ishimurataki/HelloWorld
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
200 lines (197 loc) · 6.97 KB
/
README
File metadata and controls
200 lines (197 loc) · 6.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
1. Team members: Matthew Kim (mattmkim), Kevin Xu (xukevin), Taki Ishimura (takanao)
2. We have implemented a login page, smart search page, sign up page, news feed page, chatting between two users, chatting between multiple users, sending and receiving friend requests, visualizing friend requests, offering friend recommendations, updating a users profile, adding posts and comments, and receiving notifications.
3. We have implemented extra credit to delete posts and implement smart search.
4. Our file structure is as follows.
adsorption
├── Adsorption.jar
├── AdsorptionDiffMapper.java
├── AdsorptionDiffReducer.java
├── AdsorptionDriver.java
├── AdsorptionFinishMapper.java
├── AdsorptionFinishReducer.java
├── AdsorptionInitMapper.java
├── AdsorptionInitReducer.java
├── AdsorptionIterMapper.java
├── AdsorptionIterReducer.java
├── build.xml
├── in
│ └── test.txt
└── out
├── _SUCCESS
└── part-r-00000
app.js
client
├── README.md
├── build
│ ├── asset-manifest.json
│ ├── favicon.ico
│ ├── friendshipvis
│ │ ├── base.css
│ │ └── friendvisualizer.js
│ ├── index.html
│ ├── logo192.png
│ ├── logo512.png
│ ├── manifest.json
│ ├── precache-manifest.25eb5678259bc57fa79059fb6a0e6f5c.js
│ ├── robots.txt
│ ├── service-worker.js
│ ├── static
│ │ ├── css
│ │ │ ├── 2.7f8de099.chunk.css
│ │ │ ├── 2.7f8de099.chunk.css.map
│ │ │ ├── main.4dadc669.chunk.css
│ │ │ └── main.4dadc669.chunk.css.map
│ │ ├── js
│ │ │ ├── 2.41aaf63b.chunk.js
│ │ │ ├── 2.41aaf63b.chunk.js.map
│ │ │ ├── main.d660aa3c.chunk.js
│ │ │ ├── main.d660aa3c.chunk.js.map
│ │ │ ├── runtime-main.8eea71de.js
│ │ │ └── runtime-main.8eea71de.js.map
│ │ └── media
│ │ ├── Matt.5fc6cd1d.jpg
│ │ └── Taki.eae57b4d.jpg
│ └── views
│ └── friendvisualizer.ejs
├── package-lock.json
├── package.json
├── public
│ ├── favicon.ico
│ ├── friendshipvis
│ │ ├── base.css
│ │ └── friendvisualizer.js
│ ├── index.html
│ ├── logo192.png
│ ├── logo512.png
│ ├── manifest.json
│ ├── robots.txt
│ └── views
│ └── friendvisualizer.ejs
└── src
├── Components
│ ├── App.js
│ ├── Auth
│ │ ├── Login.js
│ │ ├── ProtectedRoute.js
│ │ ├── Signup.css
│ │ └── Signup.js
│ ├── Chat
│ │ ├── Chat.js
│ │ ├── ChatArea.css
│ │ ├── ChatArea.js
│ │ ├── ChatBar.css
│ │ ├── ChatBar.js
│ │ ├── Chatbox.css
│ │ └── Chatbox.js
│ ├── Feed
│ │ ├── Comment.js
│ │ ├── CommentSection.css
│ │ ├── CommentSection.js
│ │ ├── CreateComment.css
│ │ ├── CreateComment.js
│ │ ├── CreatePost.css
│ │ ├── CreatePost.js
│ │ ├── NewsFeed.js
│ │ ├── Post.css
│ │ ├── Post.js
│ │ └── TestButton.js
│ ├── Feed.css
│ ├── Feed.js
│ ├── FriendRecommendations
│ │ ├── FriendRecommendation.js
│ │ └── FriendRecommendations.js
│ ├── FriendRequests
│ │ ├── FriendRequests.js
│ │ ├── IncomingFriendRequest.js
│ │ └── OutgoingFriendRequest.js
│ ├── Header
│ │ ├── AutoComplete.js
│ │ ├── Header.js
│ │ ├── Search.css
│ │ └── Search.js
│ ├── Home.js
│ ├── Images
│ │ ├── Matt.jpg
│ │ └── Taki.jpg
│ ├── Notifications
│ │ └── Notifications.js
│ └── Profile
│ ├── DisplayProfile.js
│ ├── Profile.js
│ └── UpdateProfile.js
├── Middleware
│ ├── Auth.js
│ ├── ChatBar.js
│ ├── Comment.js
│ ├── FriendRec.js
│ ├── FriendReq.js
│ ├── Notifications.js
│ ├── Post.js
│ ├── Profile.js
│ ├── Test.js
│ └── User.js
├── actions
│ ├── index.js
│ └── types.js
├── index.js
└── reducers
├── authReducer.js
├── chatReducer.js
├── friendReqReducer.js
├── friendsReducer.js
└── index.js
createTableSchemas.js
db
├── chatsdb.js
├── commentsdb.js
├── friendrequestdb.js
├── friendsdb.js
├── notificationdb.js
├── postsdb.js
└── usersdb.js
design.txt
diary
└── Day2.jpg
foo.txt
known_errors.txt
mattdumbo.txt
models
├── Chat.js
├── Chatroom.js
├── Comment.js
├── Friend.js
├── FriendRequests.js
├── Notification.js
├── Post.js
├── User.js
└── credentials.json
package-lock.json
package.json
public
├── css
│ └── base.css
└── js
├── friendvisualizer.js
└── jit.js
routes
├── authroutes.js
├── chatroomroutes.js
├── commentroutes.js
├── friendrecroutes.js
├── friendrequestroutes.js
├── friendroutes.js
├── friendvisroutes.js
├── notificationroutes.js
├── postroutes.js
├── routes.js
└── userroutes.js
server_socket
├── Chatroom.js
├── ChatroomManager.js
├── ClientManager.js
└── handlers.js
views
└── friendvisualizer.ejs
5. All this code was written by us.
6. Instructions: Open up two command line windows - one with a working directory of ./git and one with a working directory of ./git/client. In the command line window with the working directory of ./git, run "$ node app.js" to start the backend, and in the command line window with the working directory of ./git/client, run "$ npm start" to start the front end.
Third party libraries are listed under "dependencies" in the package.json file. To install these libraries, run "npm install _package_"