Skip to content

The actual REST API I was supposed to build for my Unity Code Test!

Notifications You must be signed in to change notification settings

BKDaugherty/UnityCodeTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityCodeTest

The actual REST API I was supposed to build for my Unity Code Test! Thank you all for being so understanding!

Launching the Service and its Tests

This project assumes that the user has both npm and node installed on their computer. If this is not the case, the following link is good to use! https://nodejs.org/en/download/package-manager/

Before doing anything, first you need to install the node_modules included in the package.json. Do this by running 'npm install' in the root directory of the project.

To start the service simply run 'npm run start', and to run tests, simply run 'npm run test' while the service is live! After running the tests, the test report is generated at 'reports/UnityCodeTestReport.html' I would 'npm run start' in one tab, and 'npm run test' in another, to discern between the logs and the tests; however, if you just want to look at the test report, 'npm run start & npm run test' will work fine!

Dependencies

This project requires the following node_modules to function correctly.

  • fs (File System)
  • Express (Server side framework for routing)
  • Mocha (Unit testing framework)
  • Mochawesome (Formatting of test report)
  • Request-promise (client api for HTTP requests)
  • Request (dependency of request-promise)

About

The actual REST API I was supposed to build for my Unity Code Test!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published