First you hve to adjust configuration values inside db-config.json and server.json config files.
Then launch server from commandline : node server.js
This server relies on existence of MySQL server. Adjust your credentials to match user/password on the server as well as provide correct hostname
File schema-mysql.db contains structure and dummy data for reference implementation. Database name used: extdirectnode
You have to run matching ExtJs/Touch application to see it in action.
Note: this repository does not include any npm modules. After cloning the repository you have to run 'npm install' to retrieve matching modules.
* Folder 'direct' contains all Direct classes
* Folder 'uploads' is required if you have intentions of uploading any files via the server.
* server-config.json - config variables for the server
* db-config.json - config variables for the database
* db-config.json - config variables for MySQL server
* schema-mysql.sql - initial sample data with schema.
* server.js - Main server file
* server-db.js - Database part implementation. If you want to implement different type of database, make any changes to this file