Skip to content

codybrookshear/ld-be-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LD test scores app

Server-based app designed to the specifications defined in PROBLEM.md.

Building

  • Run npm install
  • You will need node and npm installed. Tested using node version v10.19.0 and npm version 6.14.4.

Running

  • Run node src/server.js in the root of the project. Then see testing below.

Manual Testing

  • By default, the server runs on port 3000, but you can change this in config/default.json (or conifg/test.json in the case of running unit tests)

  • Access the endpoints using either your web browser (Chrome/Firefox/etc) or use curl:

    $ curl http://localhost:3000/students
    $ curl http://localhost:3000/students/Nicola92
    $ curl http://localhost:3000/exams
    $ curl http://localhost:3000/exams/3713

Unit tests

  • Run npm run test in the root of the project to run mocha unit tests.

REST API definitions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors