Skip to content

FireSoul1/408Proj

Repository files navigation

Stress Manager

Project Documentation

Project Charter

Product Backlog

Test Plan

Sprint 1 Design Inspection, Code Inspection, Unit Testing

Incremental and Regression Testing

Sprint 2 Design Inspection, Code Inspection, Unit Testing

Sprint 2 Incremental and Regression Testing

Documentation for Testers

Testing Instructions

Seeded Defect Log

Phase 2 Documentation

Phase 2 Test Plan

See the docs folder for PDF copies of these documents.

Project Setup

Download and install:

  • node >= 6.9.5
  • npm >= 4.1.2
    • sudo npm i -g npm@latest after installing node
  • maven

Frontend

  • In a terminal window, navigate to the directory named, 408Proj
  • To build the frontend, do the following:
  • npm install will install all of the frontend dependencies.
  • npm run dev will watch all files in client/ for changes, and recompile bundle.js and all other assets.
  • Extra commands:
  • npm run build to produce a minified version of the bundle an all other assets.
  • npm run cleanup will clean up the snapshots of the frontend tests
  • npm test will run the frontend tests

Backend

  • In a different terminal window from the frontend (probably should use a new one...) do the following:
  • Navigate to the directory named 408Proj
  • mvn install will install all of the backend dependencies.
  • mvn package will package up the app and put it in target/. This will also run the backend tests.

You can run the backend with java -jar target/backend-0.0.1-SNAPSHOT.jar Then navigate to localhost:8080 in your web browser.

Tests

  • npm test will run all frontend test suites

The output will show in your terminal. If the snapshot tests do not pass, delete the old snapshots that are files that end in .snap and then re-run the tests.

Recommended Workflow

First, install all necessary dependencies with npm install and mvn install.

Then, have one terminal session running npm run dev, which will automatically rebuild the frontend whenever you make changes. When you make changes to the backend (or frontend, for that matter), kill the server if you have one running and run mvn -Pdev package && java -jar target/backend-0.0.1-SNAPSHOT.jar <--- without npm or run mvn package && java -jar target/backend-0.0.1-SNAPSHOT.jar <--- with npm

About

A calendar that manages your stress https://stressmanager.herokuapp.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •