Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

fated-x/anow-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anow Developer Test

Requirements

Build an angular app for tracking ping pong wins and losses. A basic angular app has been scaffolded in this repo, use as much or as little of this as you like. What we would like to see how you use angular, we don't want you to spend days on this. Have some fun and complete as much as you can we understand if you don't meet all of the requirements, the basic requirements are as follows:

  • Create a form that can save the match results(a basic REST server is included in the repo)
  • Display the results in any way that makes sense to you, the repo includes a rudimentry table with non-persistent data
  • Create a panel that shows some basic stats based on the scores(Who has the most wins, the most evenly balanced opponents(eg: Krista and Sarah have almost exactly the same number of wins against each other)
  • Display the dates in a human readable format

Bonus points for any of the following:

  • Add unit tests for your code, the app is scaffolded with karma, mocha, chai, sinon but you can change this if you have something you're more comfortable with.
  • Make it look good
  • Add more detail to the tracking (eg: track actual scores instead of just wins and losses)
  • Anything else you think would make this fun and help show your skills

Getting started

Install nodejs if you don't have it already then in terminal:

$ npm install -g karma http-server json-server
$ npm install
$ bower install
$ http-server src

This installs dependencies and starts at webserver at http://localhost:8080 where you can view the starter app

Starting the rest server

$ cp src/db.sample.json db.json
$ npm json-server --watch src/db.json

This makes an endpoint available at http://localhost:3000/scores with GET, POST, PUT, DELETE verbs available to be used

Running tests

$ npm test

Don't hesitate to contact us if you have any questions about the assignment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.9%
  • HTML 40.5%
  • CSS 15.6%