├── .gitignore
├── assets
├── css
│ ├── bootstrap
│ │ ├── mixins
│ │ │ ├── _visibility.css
│ │ │ ├── _border-radius.css
│ │ │ ├── _screen-reader.css
│ │ │ └── .DS_Store
│ │ ├── .DS_Store
│ │ ├── utilities
│ │ │ └── _stretched-link.css
│ │ └── _media.css
│ ├── .DS_Store
│ └── navbar.css
├── js
│ ├── .DS_Store
│ └── main.js
├── scss
│ ├── bootstrap
│ │ ├── utilities
│ │ │ ├── _clearfix.scss
│ │ │ ├── _overflow.scss
│ │ │ ├── _screenreaders.scss
│ │ │ ├── _visibility.scss
│ │ │ ├── _shadows.scss
│ │ │ ├── _float.scss
│ │ │ ├── _align.scss
│ │ │ ├── _background.scss
│ │ │ ├── _stretched-link.scss
│ │ │ ├── _sizing.scss
│ │ │ ├── _position.scss
│ │ │ ├── _display.scss
│ │ │ ├── _embed.scss
│ │ │ ├── _borders.scss
│ │ │ ├── _text.scss
│ │ │ ├── _spacing.scss
│ │ │ └── _flex.scss
│ │ ├── .DS_Store
│ │ ├── _media.scss
│ │ ├── mixins
│ │ │ ├── _clearfix.scss
│ │ │ ├── _size.scss
│ │ │ ├── _lists.scss
│ │ │ ├── _text-truncate.scss
│ │ │ ├── _resize.scss
│ │ │ ├── _visibility.scss
│ │ │ ├── _alert.scss
│ │ │ ├── _nav-divider.scss
│ │ │ ├── _text-hide.scss
│ │ │ ├── _badge.scss
│ │ │ ├── _text-emphasis.scss
│ │ │ ├── _transition.scss
│ │ │ ├── _float.scss
│ │ │ ├── _list-group.scss
│ │ │ ├── _reset-text.scss
│ │ │ ├── _pagination.scss
│ │ │ ├── _background-variant.scss
│ │ │ ├── _box-shadow.scss
│ │ │ ├── _deprecate.scss
│ │ │ ├── _screen-reader.scss
│ │ │ ├── _hover.scss
│ │ │ ├── _table-row.scss
│ │ │ ├── _image.scss
│ │ │ ├── _border-radius.scss
│ │ │ ├── _caret.scss
│ │ │ ├── _grid.scss
│ │ │ ├── _grid-framework.scss
│ │ │ ├── _gradients.scss
│ │ │ ├── _buttons.scss
│ │ │ ├── _breakpoints.scss
│ │ │ └── _forms.scss
│ │ ├── _transitions.scss
│ │ ├── bootstrap-reboot.scss
│ │ ├── _jumbotron.scss
│ │ ├── _utilities.scss
│ │ ├── _root.scss
│ │ ├── bootstrap-grid.scss
│ │ ├── bootstrap.scss
│ │ ├── _close.scss
│ │ ├── _toasts.scss
│ │ ├── _code.scss
│ │ ├── _grid.scss
│ │ ├── _progress.scss
│ │ ├── _mixins.scss
│ │ ├── _spinners.scss
│ │ ├── _images.scss
│ │ ├── _badge.scss
│ │ ├── _alert.scss
│ │ ├── _breadcrumb.scss
│ │ ├── _pagination.scss
│ │ ├── _nav.scss
│ │ ├── _type.scss
│ │ ├── _functions.scss
│ │ ├── _tooltip.scss
│ │ ├── _buttons.scss
│ │ ├── _print.scss
│ │ ├── _button-group.scss
│ │ ├── _tables.scss
│ │ ├── _list-group.scss
│ │ ├── _dropdown.scss
│ │ ├── _popover.scss
│ │ ├── _carousel.scss
│ │ ├── _input-group.scss
│ │ ├── _modal.scss
│ │ ├── _card.scss
│ │ ├── vendor
│ │ │ └── _rfs.scss
│ │ └── _navbar.scss
│ ├── .DS_Store
│ └── style.scss
├── fonts
│ └── .DS_Store
├── images
│ ├── .DS_Store
│ ├── bulb.jpeg
│ ├── collab.jpeg
│ └── globe.jpeg
└── svg
│ └── TFH.svg
├── utils
└── messages.js
├── db
├── mongoose.js
└── webScraper.js
├── views
├── partials
│ ├── footer.ejs
│ └── header.ejs
├── sidenav.ejs
├── home.ejs
└── chatapp.ejs
├── models
├── Suggestion.js
├── Hackathon.js
└── User.js
├── middleware
├── authuser.js
└── PassportMiddleware.js
├── package.json
├── routes
├── auth.js
├── friend.js
└── user.js
├── README.md
└── app.js
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /config
--------------------------------------------------------------------------------
/assets/css/bootstrap/mixins/_visibility.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/css/bootstrap/mixins/_border-radius.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/css/bootstrap/mixins/_screen-reader.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/css/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/css/.DS_Store
--------------------------------------------------------------------------------
/assets/js/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/js/.DS_Store
--------------------------------------------------------------------------------
/assets/scss/bootstrap/utilities/_clearfix.scss:
--------------------------------------------------------------------------------
1 | .clearfix {
2 | @include clearfix();
3 | }
4 |
--------------------------------------------------------------------------------
/assets/fonts/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/fonts/.DS_Store
--------------------------------------------------------------------------------
/assets/images/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/images/.DS_Store
--------------------------------------------------------------------------------
/assets/images/bulb.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/images/bulb.jpeg
--------------------------------------------------------------------------------
/assets/scss/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/scss/.DS_Store
--------------------------------------------------------------------------------
/assets/images/collab.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/images/collab.jpeg
--------------------------------------------------------------------------------
/assets/images/globe.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/images/globe.jpeg
--------------------------------------------------------------------------------
/assets/css/bootstrap/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/css/bootstrap/.DS_Store
--------------------------------------------------------------------------------
/assets/scss/bootstrap/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/scss/bootstrap/.DS_Store
--------------------------------------------------------------------------------
/assets/css/bootstrap/mixins/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lav-joshi/TeamForHack/HEAD/assets/css/bootstrap/mixins/.DS_Store
--------------------------------------------------------------------------------
/assets/scss/bootstrap/_media.scss:
--------------------------------------------------------------------------------
1 | .media {
2 | display: flex;
3 | align-items: flex-start;
4 | }
5 |
6 | .media-body {
7 | flex: 1;
8 | }
9 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_clearfix.scss:
--------------------------------------------------------------------------------
1 | @mixin clearfix() {
2 | &::after {
3 | display: block;
4 | clear: both;
5 | content: "";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/utilities/_overflow.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | @each $value in $overflows {
4 | .overflow-#{$value} { overflow: $value !important; }
5 | }
6 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_size.scss:
--------------------------------------------------------------------------------
1 | // Sizing shortcuts
2 |
3 | @mixin size($width, $height: $width) {
4 | width: $width;
5 | height: $height;
6 | @include deprecate("`size()`", "v4.3.0", "v5");
7 | }
8 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/utilities/_screenreaders.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Screenreaders
3 | //
4 |
5 | .sr-only {
6 | @include sr-only();
7 | }
8 |
9 | .sr-only-focusable {
10 | @include sr-only-focusable();
11 | }
12 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_lists.scss:
--------------------------------------------------------------------------------
1 | // Lists
2 |
3 | // Unstyled keeps list items block level, just removes default browser padding and list-style
4 | @mixin list-unstyled {
5 | padding-left: 0;
6 | list-style: none;
7 | }
8 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_text-truncate.scss:
--------------------------------------------------------------------------------
1 | // Text truncate
2 | // Requires inline-block or block for proper styling
3 |
4 | @mixin text-truncate() {
5 | overflow: hidden;
6 | text-overflow: ellipsis;
7 | white-space: nowrap;
8 | }
9 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_resize.scss:
--------------------------------------------------------------------------------
1 | // Resize anything
2 |
3 | @mixin resizable($direction) {
4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
5 | resize: $direction; // Options: horizontal, vertical, both
6 | }
7 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_visibility.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | // Visibility
4 |
5 | @mixin invisible($visibility) {
6 | visibility: $visibility !important;
7 | @include deprecate("`invisible()`", "v4.3.0", "v5");
8 | }
9 |
--------------------------------------------------------------------------------
/assets/css/bootstrap/utilities/_stretched-link.css:
--------------------------------------------------------------------------------
1 | .stretched-link::after {
2 | position: absolute;
3 | top: 0;
4 | right: 0;
5 | bottom: 0;
6 | left: 0;
7 | z-index: 1;
8 | pointer-events: auto;
9 | content: "";
10 | background-color: rgba(0, 0, 0, 0); }
11 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/utilities/_visibility.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | //
4 | // Visibility utilities
5 | //
6 |
7 | .visible {
8 | visibility: visible !important;
9 | }
10 |
11 | .invisible {
12 | visibility: hidden !important;
13 | }
14 |
--------------------------------------------------------------------------------
/utils/messages.js:
--------------------------------------------------------------------------------
1 | const moment = require("moment");
2 |
3 | function formatMessage(user_id,text,friend_id){
4 | return{
5 | user_id,
6 | text,
7 | friend_id,
8 | time:moment().format('h:mm a')
9 | }
10 | }
11 |
12 | module.exports = formatMessage;
--------------------------------------------------------------------------------
/assets/css/bootstrap/_media.css:
--------------------------------------------------------------------------------
1 | .media {
2 | display: -webkit-box;
3 | display: -ms-flexbox;
4 | display: flex;
5 | -webkit-box-align: start;
6 | -ms-flex-align: start;
7 | align-items: flex-start; }
8 |
9 | .media-body {
10 | -webkit-box-flex: 1;
11 | -ms-flex: 1;
12 | flex: 1; }
13 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/utilities/_shadows.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable declaration-no-important
2 |
3 | .shadow-sm { box-shadow: $box-shadow-sm !important; }
4 | .shadow { box-shadow: $box-shadow !important; }
5 | .shadow-lg { box-shadow: $box-shadow-lg !important; }
6 | .shadow-none { box-shadow: none !important; }
7 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_alert.scss:
--------------------------------------------------------------------------------
1 | @mixin alert-variant($background, $border, $color) {
2 | color: $color;
3 | @include gradient-bg($background);
4 | border-color: $border;
5 |
6 | hr {
7 | border-top-color: darken($border, 5%);
8 | }
9 |
10 | .alert-link {
11 | color: darken($color, 10%);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_nav-divider.scss:
--------------------------------------------------------------------------------
1 | // Horizontal dividers
2 | //
3 | // Dividers (basically an hr) within dropdowns and nav lists
4 |
5 | @mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y) {
6 | height: 0;
7 | margin: $margin-y 0;
8 | overflow: hidden;
9 | border-top: 1px solid $color;
10 | }
11 |
--------------------------------------------------------------------------------
/db/mongoose.js:
--------------------------------------------------------------------------------
1 | const mongoose = require("mongoose");
2 | const keys = require('../config/keys.js');
3 |
4 | mongoose.connect(
5 | keys.mongoURI,
6 | { useNewUrlParser: true, useUnifiedTopology: true, useFindAndModify: false, useCreateIndex: true },
7 | function(err){
8 | if(err) console.log(err);
9 | else console.log("MongoDB Connected");
10 | }
11 | )
--------------------------------------------------------------------------------
/assets/scss/bootstrap/_transitions.scss:
--------------------------------------------------------------------------------
1 | .fade {
2 | @include transition($transition-fade);
3 |
4 | &:not(.show) {
5 | opacity: 0;
6 | }
7 | }
8 |
9 | .collapse {
10 | &:not(.show) {
11 | display: none;
12 | }
13 | }
14 |
15 | .collapsing {
16 | position: relative;
17 | height: 0;
18 | overflow: hidden;
19 | @include transition($transition-collapse);
20 | }
21 |
--------------------------------------------------------------------------------
/assets/scss/bootstrap/mixins/_text-hide.scss:
--------------------------------------------------------------------------------
1 | // CSS image replacement
2 | @mixin text-hide($ignore-warning: false) {
3 | // stylelint-disable-next-line font-family-no-missing-generic-family-keyword
4 | font: 0/0 a;
5 | color: transparent;
6 | text-shadow: none;
7 | background-color: transparent;
8 | border: 0;
9 |
10 | @include deprecate("`text-hide()`", "v4.1.0", "v5", $ignore-warning);
11 | }
12 |
--------------------------------------------------------------------------------
/views/partials/footer.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |