Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

H4MSK1/bth-ramverk2-trading-platform-client

Repository files navigation

Badges

Build Status Build Status Scrutinizer Code Quality Code Coverage

Installation

Run:

npm install

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Test cases

Test Cases

  • api/currency: Should return the right currency symbol for according currency
  • api/currency: Should convert the given value to a chosen currency (USD) and convert back, results should equal the initial number
  • api/AuthService: 4 testcases ran testing the .isAuth() wether it behaves as expected, more details in src/api/test/AuthService.test.js
  • api/TokenService: Should store and retrieve the given tokens
  • *: Should render correct elements, for reference, check each test file.

About

Trading platform frontend for course "ramverk2" on BTH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors