GithubHelp home page GithubHelp logo

kennymatsudo / sgbouncewizard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sg-uci-2018-19/sgbouncewizard

0.0 1.0 0.0 4.79 MB

UCI Capstone 2018-19 bounce wizard

JavaScript 91.88% HTML 0.65% Dockerfile 0.16% CSS 6.60% TypeScript 0.71%

sgbouncewizard's Introduction

sgbouncewizard

UCI Capstone 2018-19 Bounce Wizard

Team Members:

  • Kristen DeVore
  • Joseph Bustamante
  • Cody Han
  • Khuong Tiet
  • Gevorg Gabrielyan
  • Kenny Matsudo

Setup

Before running, make sure you have the proper environmental files and endpoints configured. Please contact team members for more information.

Starting Front End w/ json-server

This runs the application with a json database stored locally. No backend service is required.

  1. $ npm run dev:mock
  2. $ npm run json-server

Starting Front End w/ Docker Container

Please make sure the backend service and mySQL docker container are running prior to running the front end application.

  • $ npm run dev

Running Storybook

Storybook is a UI development environment and playground for UI components. The tool enables users to create components independently and showcase components interactively in an isolated development environment.

$ npm run storybook

Running Jest

Jest is used by Facebook to test all JavaScript code including React applications.

In order to run tests:

$ npm run test

In order to update snapshots:

$ npm run test -- -u

Running Cypress

Cypress is a next generation front end testing tool built for the modern web.

Cypress mimics user actions in a browser to perform tests such as successfully logging in, creating bounce rules, and deleting bounce rules.

Using Json-Server as the Backend

  • $ npm run cypress:open:mock

Using GO Docker Container as the Backend

  • $ npm run cypress:open

This opens up a Cypress application containing various tests categorized by pages. Clicking on any of the *.spec.js files will begin the test.

##Using Docker Docker can be used to build and run tests. Use the following commands:

Unit Test & Build

  • $ docker-compose up

Cypress Test

  • $ docker-compose up -f docker-compose.cypress.yml up

sgbouncewizard's People

Contributors

kennymatsudo avatar alfredlucero avatar productdana avatar khuongtiet avatar kristendevore avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.