diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-05-01 22:17:46 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2023-05-01 22:17:46 -0400 |
commit | 9c2ad9bee21ea2bc92ee0eac4d12bb7878fa8bdb (patch) | |
tree | 564bf94fda75e34d10820e1bbdc306b28b4c5e92 /part2/phonebook/db.json | |
parent | 640dd85891473cb35b5d997ad3beef0e02524c00 (diff) |
ex2.11 use data from json-server, employ axios libplay-with-json-server
Diffstat (limited to 'part2/phonebook/db.json')
-rw-r--r-- | part2/phonebook/db.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/part2/phonebook/db.json b/part2/phonebook/db.json new file mode 100644 index 0000000..b4a4ccd --- /dev/null +++ b/part2/phonebook/db.json @@ -0,0 +1,24 @@ +{ + "persons": [ + { + "name": "Arto Hellas", + "number": "040-123456", + "id": 1 + }, + { + "name": "Ada Lovelace", + "number": "39-44-5323523", + "id": 2 + }, + { + "name": "Dan Abramov", + "number": "12-43-234345", + "id": 3 + }, + { + "name": "Mary Poppendieck", + "number": "39-23-6423122", + "id": 4 + } + ] +} |