All Projects → gazbert → Bxbot Ui Angular

gazbert / Bxbot Ui Angular

Licence: mit
An Angular app for administering BX-bot.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Bxbot Ui Angular

Jasmine Spec Reporter
Real time console spec reporter for jasmine testing framework
Stars: ✭ 241 (+1047.62%)
Mutual labels:  jasmine, protractor
Protractor Pretty Html Reporter
A jasmine reporter that produces an easy to use html report to analyze protractor test results.
Stars: ✭ 9 (-57.14%)
Mutual labels:  jasmine, protractor
testing-angular-applications
Project for the Testing Angular Applications book
Stars: ✭ 99 (+371.43%)
Mutual labels:  jasmine, protractor
angular-material-boilerplate
A straightforward and well structured boilerplate based on Google's Angular Material project.
Stars: ✭ 28 (+33.33%)
Mutual labels:  jasmine, protractor
Webdriverio
Next-gen browser and mobile automation test framework for Node.js
Stars: ✭ 7,214 (+34252.38%)
Mutual labels:  jasmine
Serenity Js
A next generation, full-stack acceptance testing framework optimised for collaboration, speed and scale!
Stars: ✭ 346 (+1547.62%)
Mutual labels:  protractor
Sazerac
Data-driven unit testing for Jasmine, Mocha, and Jest
Stars: ✭ 322 (+1433.33%)
Mutual labels:  jasmine
Generator M Ionic
Advanced workflows and setup for building rock-solid Ionic apps
Stars: ✭ 677 (+3123.81%)
Mutual labels:  protractor
Ionic Boilerplate
✨ An Ionic Starter kit featuring Tests, E2E, Karma, Protractor, Jasmine, Istanbul, Gitlab CI, Automatic IPA and APK, TypeScript 2, TsLint, Codelyzer, Typedoc, Yarn, Rollup, and Webpack 2
Stars: ✭ 309 (+1371.43%)
Mutual labels:  protractor
Public
Repository for wallaby.js questions and issues
Stars: ✭ 662 (+3052.38%)
Mutual labels:  jasmine
Jasmine Matchers
Write Beautiful Specs with Custom Matchers for Jest and Jasmine
Stars: ✭ 552 (+2528.57%)
Mutual labels:  jasmine
Typescript Webpack Starter
⚡ create-ts-lib: A Starter Kit and a CLI to create your TypeScript / ES6 module bundled by Webpack without thinking about build or unit tests configurations. 🏠
Stars: ✭ 358 (+1604.76%)
Mutual labels:  jasmine
Gulp Angular Protractor
Gulp plugin to run protractor tests
Stars: ✭ 25 (+19.05%)
Mutual labels:  protractor
Codeceptjs
Supercharged End 2 End Testing Framework for NodeJS
Stars: ✭ 3,592 (+17004.76%)
Mutual labels:  protractor
Cucumber Protractor Harness
Simple starter project for incorporating cucumber (2.3.1) with protractor
Stars: ✭ 9 (-57.14%)
Mutual labels:  protractor
Javascript Exercises
Stars: ✭ 313 (+1390.48%)
Mutual labels:  jasmine
Express
Express + Sequelize + Winston + Jasmine + TypeScript + Webpack MVC Boilerplate
Stars: ✭ 9 (-57.14%)
Mutual labels:  jasmine
React Quickly
Source code for React Quickly [Manning, 2017]: Painless Web Apps with React, JSX, Redux, and GraphQL 📕
Stars: ✭ 486 (+2214.29%)
Mutual labels:  jasmine
Angular Testing Recipes
Simple testing patterns for Angular version 2+
Stars: ✭ 450 (+2042.86%)
Mutual labels:  jasmine
Protractor Firefox Support
Custom implementation of Actions class functions for e2e testing with Protractor in Firefox
Stars: ✭ 20 (-4.76%)
Mutual labels:  protractor

BX-bot UI

Build Status

Note: This project is very much work in progress and not safe for production.

What is BX-bot UI?

BX-bot UI is an Angular app (and learning journey!) for administering BX-bot.

Although being developed as a 'real-world' app, the code tries to showcase different features of Angular and TypeScript. It's not meant to be an Angular 101 tutorial - the Angular Documentation does a far better job!

Installation Guide

The Docker way

If you want to just play around with the UI, Docker is the way to go.

  1. Install Docker on the machine you want to run the app.
  2. Fetch the BX-bot image from Docker Hub: docker pull gazbert/bxbot-ui:0.0.1
  3. Run the Docker container: docker run --name bxbot-ui-0.0.1 -it --rm -p 4200:4200 gazbert/bxbot-ui:0.0.1
  4. Open a browser and go to: http://localhost:4200
  5. You can stop the container using CTRL-c

The current Docker image is not a release, but rather a rolling development version of the UI...

The manual way

You'll need node.js (at least node 6.9.x) installed to build and run the app.

  1. Install the Angular CLI globally: npm install -g @angular/cli
  2. Clone this repo locally.
  3. Change directory to the root of the project.
  4. Run npm install to install the dependencies - you'll only need to do this once, unless the versions are updated in the package.json
  5. To start the app: npm start
  6. Open a browser and go to: http://localhost:4200
  7. To stop the app, CTRL-c from the command line.

Build Guide

Follow the instructions in the The manual way section if you've not already done so.

The project uses Angular CLI commands to build, test, and run the app.

Building the App

  1. Run npm run build to compile the application into the dist output directory.

Jasmine Unit Tests

The app has behaviour-driven unit tests written using the excellent Jasmine framework.

  1. To run the tests once: npm run test:once
  2. To continuously run the tests in the background using Karma: npm test - Karma will monitor code changes and trigger re-running of the tests.
  3. To stop Karma, CTRL-c from the command line.

Protractor End-to-End Tests

The app has e2e tests written using Protractor.

  1. To run the tests once: npm run e2e. It's usually best not to have the app running at the same time.

TSLint

The build has a TSLint script that checks for code readability, maintainability, and functionality errors. The tslint.json file contains the linting rules.

  1. To run the linter: npm run lint

Configuration

The app uses Angular's In Memory Web API as a replacement backend for development and local testing. The API config configuration options are set in app.module.ts.

The application config is in JSON format and lives in the in-memory-data.service.ts file.

To communicate with the bots for real, the app will need configuring to use BX-bot UI Server - currently work in progress.

Coming Soon

  • Integration with BX-bot UI Server.
  • A new 'Runtime' screen tab for displaying the bot's status, stopping/restarting, and viewing/downloading the latest log file.

Credits

This app started life as the Angular 4 QuickStart app and was later migrated to use the Angular CLI. It took (a lot of) inspiration from the following awesomeness:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].