Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 440 Bytes

File metadata and controls

23 lines (16 loc) · 440 Bytes

01: Barely testable

  • Code is too coupled
  • Not modular
  • No environment-aware

Running

In one terminal, run your project:

# make sure it's running
node index.mjs 

In another one, perform the request`

# hit it with some predictable requests
curl -i http://localhost:3000/books?author=Neil%20Gaiman | grep "HTTP/1.1 200"

Make sure the database is available as described in parent README.md