├── static
└── .gitkeep
├── config
├── prod.env.js
├── dev.env.js
└── index.js
├── slack2.gif
├── .firebaserc
├── src
├── assets
│ ├── logo.png
│ └── Slack_icons.svg
├── pages
│ ├── Schat.vue
│ ├── Login.vue
│ └── Register.vue
├── router
│ └── index.js
├── App.vue
├── components
│ ├── sidebar
│ │ ├── Sidebar.vue
│ │ ├── ConnectedUser.vue
│ │ ├── Users.vue
│ │ └── Channels.vue
│ └── messages
│ │ ├── SingleMessage.vue
│ │ ├── FileModal.vue
│ │ ├── Messages.vue
│ │ └── MessageForm.vue
├── main.js
└── store.js
├── .gitignore
├── .editorconfig
├── .postcssrc.js
├── .babelrc
├── firebase.json
├── README.md
├── index.html
└── package.json
/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/slack2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/brunorafael8/Slack-Clone/HEAD/slack2.gif
--------------------------------------------------------------------------------
/.firebaserc:
--------------------------------------------------------------------------------
1 | {
2 | "projects": {
3 | "default": "slack-clone-c9c18"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/brunorafael8/Slack-Clone/HEAD/src/assets/logo.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 |
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | // to edit target browsers: use "browserlist" field in package.json
6 | "autoprefixer": {}
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", { "modules": false }],
4 | "stage-2"
5 | ],
6 | "plugins": ["transform-runtime"],
7 | "comments": false,
8 | "env": {
9 | "test": {
10 | "presets": ["env", "stage-2"],
11 | "plugins": [ "istanbul" ]
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/firebase.json:
--------------------------------------------------------------------------------
1 | {
2 | "hosting": {
3 | "public": "dist",
4 | "redirects": [ {
5 | "source" : "/login",
6 | "destination" : "/",
7 | "type" : 301
8 | },
9 | {
10 | "source" : "/register",
11 | "destination" : "/",
12 | "type" : 302
13 | }]
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 | # **SLACK CLONE **
3 |
4 | ----------
5 | 
6 |
7 | *Vue.js + Firebase project*
8 |
9 | ## Build Setup
10 | ----------
11 | ### install dependencies
12 | >*npm install*
13 |
14 | ### serve with hot reload at localhost:8080
15 | >*npm run dev*
16 |
17 | ### build for production with minification
18 | >*npm run build*
19 |
20 | ### build for production and view the bundle analyzer report
21 | >*npm run build --report*
22 |
--------------------------------------------------------------------------------
/src/pages/Schat.vue:
--------------------------------------------------------------------------------
1 |
2 |