Skip to content

401-advanced-javascript-billybunn/lab-19-server

Repository files navigation

CF LAB

Socket.io - Message Queue Server

Author: Billy Bunn

Links and Resources

Four repositories were required for this lab assignment. The submission pull request, Travis.CI build, and actual code repository for each are listed below.

1. Message Queue Server

2. Message Queue Logger

3. File Writer

4. API Server

Modules

modulename.js

Exported Values and Methods
foo(thing) -> string

Usage Notes or examples

bar(array) -> array

Usage Notes or examples

Setup

.env requirements

  • npm i
  • PORT - assign a port number
  • MONGODB_URI - URL to the running mongo instance/db

Running the app

  • npm start
  • Endpoint: /
  • 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?
    • npm run test
    • npm run lint
  • 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

LAB 19: Message Queue Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published