Skip to content

Commit

Permalink
3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
djedjehasi committed Jul 10, 2024
1 parent e709c33 commit 1398082
Show file tree
Hide file tree
Showing 35 changed files with 3,717 additions and 3 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const express = require('express')
morgan = require('morgan')
const app = express()

app.use(express.json())
Expand Down Expand Up @@ -28,7 +29,7 @@ let persons = [

let info = `<p>Phonebook has info for ${persons.length} people</p> <p>${Date()}</p>`

app.get('/info', (request, response) => {
app.get('/info', morgan('tiny'), (request, response) => {
response.send(info)
})

Expand Down
64 changes: 64 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions node_modules/basic-auth/HISTORY.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions node_modules/basic-auth/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

113 changes: 113 additions & 0 deletions node_modules/basic-auth/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1398082

Please sign in to comment.