Skip to content

Commit

Permalink
the client app
Browse files Browse the repository at this point in the history
  • Loading branch information
van100j committed Jul 11, 2017
1 parent f36c5d6 commit d2adfb7
Show file tree
Hide file tree
Showing 38 changed files with 7,138 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/client

/node_modules

*.env
57 changes: 57 additions & 0 deletions client/.angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "ws-chat-bot"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json"
},
{
"project": "src/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
13 changes: 13 additions & 0 deletions client/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
41 changes: 41 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db
28 changes: 28 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# WsChatBot

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.1.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
Binary file added client/dist/favicon.ico
Binary file not shown.
28 changes: 28 additions & 0 deletions client/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>TiBot</title>
<base href="/">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>
.loader {
width: 80px;
height: 80px;
position: absolute;
top: 50%;
left: 50%;
margin: -40px 0 0 -40px;
}
</style>
<link href="styles.bfeff1bad27ba65b7c63.bundle.css" rel="stylesheet"/></head>
<body>
<app-root>
<div class="loader">
<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-zigzag"><defs><clipPath id="a"><path d="M20 0h60v100H20z"/></clipPath></defs><path fill="none" stroke="#ff7c81" stroke-width="6" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" clip-path="url(#a)" d="M90 76.7V28.3c0-2.7-2.2-5-5-5h-3.4c-2.7 0-5 2.2-5 5v43.4c0 2.7-2.2 5-5 5h-3.4c-2.7 0-5-2.2-5-5V28.3c0-2.7-2.2-5-5-5H55c-2.7 0-5 2.2-5 5v43.4c0 2.7-2.2 5-5 5h-3.4c-2.7 0-5-2.2-5-5V28.3c0-2.7-2.2-5-5-5h-3.4c-2.7 0-5 2.2-5 5v43.4c0 2.7-2.2 5-5 5H15c-2.7 0-5-2.2-5-5V23.3" transform="translate(-4.25)"><animateTransform attributeName="transform" type="translate" calcMode="linear" values="-20 0;7 0" keyTimes="0;1" dur="0.6s" begin="0s" repeatCount="indefinite"/><animate attributeName="stroke-dasharray" calcMode="linear" values="0 72 125 232;0 197 125 233" keyTimes="0;1" dur=".6" begin="0s" repeatCount="indefinite"/></path></svg>
</div>
</app-root>
<script type="text/javascript" src="inline.1da88a726321b2944629.bundle.js"></script><script type="text/javascript" src="polyfills.7306ee46c4105d171c4b.bundle.js"></script><script type="text/javascript" src="vendor.5de6bc7afbc658e02cf2.bundle.js"></script><script type="text/javascript" src="main.b55687d38a1f3e968a20.bundle.js"></script></body>
</html>
1 change: 1 addition & 0 deletions client/dist/inline.1da88a726321b2944629.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/dist/main.b55687d38a1f3e968a20.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d2adfb7

Please sign in to comment.