db.author.insertMany([
{
    authorID: 1,
    firstName: "Zime
    lastName: "Nhlapo"
},
{
    authorID: 2,
    firstName: "Wanga",
    lastName: "Tshidada"
}
])

db.book.insertMany([
{
    ISBN: "9781111111111",
    title: "Database Systems",
    publicationYear: 2025
},
{
    ISBN: "9782222222222",
    title: "Advanced MongoDB",
    publicationYear: 2027
}
])

db.member.insertMany([
{
    memberID: 101,
    firstName: "Thabo",
    lastName: "Mokoena",
    email: "thabo@gmail.com",
    phoneNo: "0812345678"
},
{
    memberID: 102,
    firstName: "Ayanda",
    lastName: "Ndlovu",
    email: "ayanda@gmail.com",
    phoneNo: "0823456789"
}
])

db.bookauthor.insertMany([
{
    authorID: 1,
    ISBN: "9781111111111"
},
{
    authorID: 2,
    ISBN: "9782222222222"
}
])

db.borrowedbooks.insertMany([
{
    memberID: 101,
    ISBN: "9781111111111",
    dateBorrowed: new Date("2026-01-10"),
    dueDate: new Date("2026-01-24"),
    returnDate: new Date("2026-01-20"),
    fineAmount: 0
},
{
    memberID: 102,
    ISBN: "9782222222222",
    dateBorrowed: new Date("2026-02-01"),
    dueDate: new Date("2026-02-15"),
    returnDate: null,
    fineAmount: 50
}
])

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: