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
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...
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...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT