PublicRecordFetcher

所属分类:论文
开发工具:JavaScript
文件大小:17KB
下载次数:0
上传日期:2020-11-25 04:23:03
上 传 者sh-1993
说明:  使用套接字编程来开发一种实现,以获取校园网中与官员相对应的记录...
(Use socket programming to develop an implementation to fetch records corresponding to office bearers in a campus network. For example a query for Academic_Section using your tool must return the office email id or phone number of academic section. You can use your implementation to store data of individuals as well who are willing to share this ...)

文件列表:
client.js (4087, 2020-11-25)
documentInterface.js (1, 2020-11-25)
package-lock.json (43736, 2020-11-25)
package.json (376, 2020-11-25)
server.js (3259, 2020-11-25)

# PublicRecordFetcher It's a { name } to { email , phone number, city } mapping application.
  • Requirements

  • node.js
  • npm package manager
  • You can simply run npm install to include all other dependencies.
  • You'll need to open two seperate terminals/command promts to run this application.
  • npm run client to run client side script.
  • npm run server to run server side script.
  • This application uses MongodbAtlas to host the data.
  • Application Layer

    • I've defined a light weight application layer protocol to communicate between client and the server.
    • Header fields

      • Method

        : accepts only get or post (case insensitive ).
      • Name

        : unique name of the person.
      • Phone

        : phone number.
      • Email

        : email address.
      • City

        : name of the city.
      • MatchFull

        : if specified fetches only records the match the name exactly as specified.
      • Max#Records

        : maximum number of records to fetch.
      • Date

        : a readonly date field.

近期下载者

相关文件


收藏者