Skip to content

Provided a partially working API server, lab is to complete the server's functionality by creating the data models and writing a full test suite.

Notifications You must be signed in to change notification settings

401-advanced-javascript-js/lab-08-data-modeling

Repository files navigation

CF LAB 08

Data Modeling

Author: Student/Group Name

Provided a partially working API server, lab is to complete the server's functionality by creating the data models and writing a full test suite.

Links and Resources

Documentation

Modules

modulename.js

Exported Values and Methods
foo(thing) -> string

Usage Notes or examples

bar(array) -> array

Usage Notes or examples

Setup

.env requirements

  • PORT - Port Number
  • MONGODB_URI - URL to the running mongo instance/db

Running the app

  • npm start
  • Endpoint: /foo/bar/
    • Returns a JSON object with abc in it.
  • Endpoint: /bing/zing/
    • Returns a JSON object with xyz in it.

Tests

  • How do you run tests?
  • What assertions were made?
  • What assertions need to be / should be made?

UML

Link to an image of the UML for your application and response to events

About

Provided a partially working API server, lab is to complete the server's functionality by creating the data models and writing a full test suite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published