Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 1.03 KB

README.md

File metadata and controls

11 lines (8 loc) · 1.03 KB

Northwind nodejs data service demo

A demo data service for our representation of the Northwind relational database in memory (.NET based) hosted by nodejs via edgejs. Node 5.x is required to run the demo.

Entry point:

The entry file of the data service is under the "server-hosts" directory and is named app.js. The npm libraries are not included in the repo so they should be downloaded by runing npm update --save under the entry directory.

User interface:

The data service has a user interface (read only at present) for a user to query the relational data sets. Go to http://localhost:10961 using a browser after starting up the service and follow the initial link to explore the database.

Where nodejs meets .NET

All the javascript files in which the .NET backend (in process and in memory) database is accessed are under the "services/adapters/servers/Northwind/api" directory. The NorthwindService.js file is for database level operations. There is a corresponding file for each table under the "sets" sub-directory.