// AUTHOR Collection
db.AUTHOR.insertOne({
    authorID: "AU01",
    firstName: "John",
    lastName: "Smith"
});

// BOOK Collection
db.BOOK.insertOne({
    ISBN: "9781234567890",
    title: "Database Systems",
    publicationYear: 2027
});

// MEMBER Collection
db.MEMBER.insertOne({
    memberID: "MEM01",
    firstName: "Michael",
    lastName: "Brown",
    email: "michael@email.com",
    phoneNo: "0821234567"
});

// BOOKAUTHOR Collection
db.BOOKAUTHOR.insertOne({
    authorID: "AU01",
    ISBN: "9781234567890"
});

// BORROWEDBOOKS Collection
db.BORROWEDBOOKS.insertOne({
    memberID: "MEM01",
    ISBN: "9781234567890",
    dateBorrowed: new Date("2026-05-01"),
    dueDate: new Date("2026-05-15"),
    returnDate: null,
    fineAmount: 0
});

Embed on website

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