Giter Site home page Giter Site logo

wallstreetdocs-test's Introduction

John Barnard - Coding Test

##Install

Please ensure you have npm and bower installed - I'm sure you do!

To install please run:

npm install

This will also run bower install.

##Run

To run the app please:

npm start

##Testing

Testing has been set up for unit testing and end to end tests but I ran out of time to write full tests. There is just one end to end test to make sure a non-logged in user is redirected to login. To run please either use

npm test

Or run the app and in a different terminal run:

npm run protractor

##Notes

  • I was unable to find the correct glyphs for the login user and padlock so used the default bootstrap ones
  • I hit the ping API endpoint as part of checking if the user is logged in (as well as checking for the existence of their token) and send the token even though I see it's not needed. My thinking was that this could be used against an endpoint to check the token is still valid.

wallstreetdocs-test's People

Contributors

johndbarnard avatar

Watchers

 avatar  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.