Question

Using node.js create a system that includes a "library" of books and information about the books,...

Using node.js create a system that includes a "library" of books and information about the books, such as title, a description, author, publisher, ISBN. Include, at least, 12 books in the "library". Now create two people who like books and use the "Shared State" concept to demonstrate what each person's (you and another one) favorite book is.

What to turn in:

1. All code and related files (as created via the IDE, so I can run it), compressed using zip.

2. Lots of screenshots demonstrating the ability to search for books and the ability for you and Bucky to have a favorite book.

Homework Answers

Answer #1

Given: here we have to create a system which should have library of books and info of that using node.js and also we are asked to create 2 people who like books and use shared state concept to know favourite book of each person

My answer:

step 1:first of all let us know abour node.js it is basically an open source, javascript runtime environment that executes java script code usually outside of web browser

step 2:we have to import whatever the modules needed

step 3:we have to create instance and call  server using listen method we need to bind it with port here we have to give coding to create a library of books and also info about the books and also include 2 persons who like books and implement shared state concept after giving it we should wait for a request from port on the local machine

step4:here we have put 3rd and 4th together into a file sample.js and start HTTP server

step 5:now start the server by executing sample.js

step 6:check whether the output server has been started

step 7:now make request to node.js server and observe the result as per the given question we have created library of books systems with neccessary information

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Implement a C++ program to develop a simple Library. Library contains pile of books and each...
Implement a C++ program to develop a simple Library. Library contains pile of books and each book comprises of ISBN (cannot be changed), Name, Author Name, Publisher Name, Issue Date, Return Date. [using Structures]
Write a 4-6 sentence summary explaining how you can use STL templates to create real world...
Write a 4-6 sentence summary explaining how you can use STL templates to create real world applications. In your summary, provide an example of a software project that you can create using STL templates and provide a brief explanation of the STL templates you will use to create this project. After that you will implement the software project you described . Your application must be a unique project and must incorporate the use of an STL container and/or iterator and...
You have to create a Library Borrowing System based on the following requirements: When new books...
You have to create a Library Borrowing System based on the following requirements: When new books arrive, these books must be cataloged into the system by a librarian (i.e., entered in the system). Information on a book should include book ID, title, author ID, ISBN, and edition. The system should capture author names so that users can search for an author. The library may carry multiple books by the same author, and an author can have multiple books in the...
University library management system This case is a simplified (initial draft) of a new system for...
University library management system This case is a simplified (initial draft) of a new system for the University Library. Of course, the library system must keep track of books. Information is maintained about both book titles and the individual book copies. Book titles maintain information about title, author, publisher, and catalog number. Individual copies maintain copy number, edition, publication year, ISBN, book status (whether it is on the shelf or loaned out), and date due back in. The library also...
Question 2 The questions in this section are all based on the “Online Book Exchange System...
Question 2 The questions in this section are all based on the “Online Book Exchange System (EyesHaveIt.com)” Case Study on the last page of this document. Read the case study carefully before answering these questions. b) An analyst has identified all the domain classes and their attributes required for the system, as listed below. Use ONLY the classes in this list to draw a Class diagram. The diagram must show all the classes, their attributes, and the relationships between the...
Question 2 The questions in this section are all based on the “Online Book Exchange System...
Question 2 The questions in this section are all based on the “Online Book Exchange System (EyesHaveIt.com)” Case Study on the last page of this document. Read the case study carefully before answering these questions. A system analyst in your team has identified main user goals for the system, as shown below. Use ONLY the goals in this list to draw a Use Case diagram with all the actors and associations required. Goals List Online account registration Searching for book...
Aggregation 1. List the following about history books: number of history books, the minimum price, maximum...
Aggregation 1. List the following about history books: number of history books, the minimum price, maximum price, and average sales. The format of output is: "Number" "Min Price" "Max Price" "Average Sale" 2. List the number of books and the average number of pages published by pub_id 01. 3. For each book type, list the the number of books and the average price. Sort the results by the number of books Functions 4. List the name(s) of the publisher(s) that...