Reference no: EM133189084
Create a new MongoDB Atlas account on
• Create your own MongoDB database under your MongoDB Atlas account
• Set up a books collection (table) by populating it with a minimum of 15 documents (records) that are in the following format:
• The new MongoDB books collection replaces the books.json file used by assignment two
• Changing the layout and structure of books collection is prohibited
• Set up a clients collection (table) by populating it with a minimum of 5 documents (records) matching the users in the users.json file in the following format:
• Changing the layout and structure of clients collection is prohibited
Landing Webpage
• Remain unchanged
Sign in Webpage
• Remain unchanged
Home Webpage
• The container situated to the left of the webpage and its functionality is to remain unchanged
• The container situated to the right of the webpage is to be populated by
- The email address of the signed in user
- The content of books collection with the title of all books borrowed by the signed in user and corresponding checkbox elements
- A button with Return as its caption
• The available property for each book in the books collection is to be updated per Borrow/Return button selection
• The IDBooksBorrowed property for each client is to be updated per Borrow/Return button selection with borrowed book IDs
• The same book cannot be borrowed at the same time by multiple clients
• The remaining functionality is to remain unchanged
Modifying the Web Server Program Structure
• Utilize the Express Router middleware to isolate a minimum of one business functionalities (e.g. login, borrow, return etc.) of your web server program by
o Create and export a new JavaScript file that is to specifically handle the chosen functionality
o Import the new JavaScript file to your web server program and utilize accordingly
• The remaining design criteria are to be decided by the web app designer
Technical Specifications
• Code one JavaScript server application using Node.js for routing, Express.js for framework and Handlebars.js for templating
• Necessary npm modules are: express, express-handlebars, mongodb and/or mongoose, fs, path, randomstring and client-sessions
• If the session was left inactive for more than three minutes, the session is to be automatically terminated and return to the Sign in page
Assignment Requirements
• Hand in your assignment by date specified on the weekly schedule in media specified in the course overview
• The completed assignment is to include at least twojs file, three hbs files, one package.json file, one users.json file, your assignment URL and necessary image files all compressed into one zip file
• Do not include your node_modules subfolder as part of your zip file
• Single Page Application (SPA) development is prohibited
• Usage of front-end framework such as React, Vue, Angular are prohibited
• Your assignment is to be submitted via Blackboard
• Ensure your assignment can be successfully tested via localhost:3000
• Deploy your assignment to your Heroku account
• Ensure your assignment can be successfully tested via your Heroku URL
Attachment:- Question MongoDB.rar
|
What is the company''s days in inventory for year three
: Question - The Mullens Company reported the following: What is the company's days in inventory for Year 3
|
|
What is its current ratio after the transaction is recorded
: If the company purchased $600 of equipment, what is its current ratio after the transaction is recorded
|
|
What is the balance in the treasury stock account
: Assuming that the company uses the cost method, what is the balance in the treasury stock account if the company recently reissued 10,000 shares
|
|
Calculate the amount of bond discount or premium
: The bonds which were issued at 99, pay interest on January 1 and June 1. Use this information to calculate the amount of bond discount or premium
|
|
Create and export a new javascript file
: Express Router middleware to isolate a minimum of one business functionalities (e.g. login, borrow, return etc.) of your web server program
|
|
Determine for december the amount of earnings per share
: The Common Stock account for Baltimore Corporation on January 1, 2020 was $75,000. Determine for December the amount of Earnings per Share
|
|
Determine the total materials variance
: The company actually produced 5,200 sleeping bags using 27,300 yards of material at a cost of $5.90 per yard. Determine the total materials variance
|
|
What is the loan rate charged by american pharoah
: American Pharoah management is planning to make a $2.0 million loan to a French firm. What is the loan rate charged by American Pharoah
|
|
Determine the present value index for each proposal
: Determine the present value index for each proposal. If Montana Grill can fund only one location, which location should be funded
|