Apache Cordova Framework enables to build mobile applications for mobile devices using JavaScript, HTML5 and CSS3 instead of relying on platform-specific languages. It enables wrapping up the web code depending on the platform of the device.
You have to redirect http://nodeapp.domain.com to http://nodeapp.domain.com:port. This can easily be done by using an http proxy. All you need to do is:
ServerName nodeapp.domain.com
ProxyRequests off
Order deny,allow
Allow from all
ProxyPass http://localhost:port/
ProxyPassReverse http://localhost:port/
>> sudo node nodefile.js //don't forget the "sudo" command otherwise you may get an error (503)
[I had this problem a while ago and solved it this way. You can find my original blog post at http://www.manuelmertl.com/running-apache-and-nodejs-together/]
The solution is mainly based on the architecture of a forum. The main steps are as follows:
-Create database schema which includes tables: teacher; student; course; message; topic; timetable; room; module; These tables are connected through ID. For example, teacher table will connect to course table through course ID. The same things hold for other tables.
-Use HTML and JAVA Script to create web interface: assign each page to suitable view: student view, teacher view, courses view... This interface must provide user ability to handle correspond function of the system.
-Use JSP or Java Servlet to connect to database and make query, get information.
System specification
-Using MySQL database system.
-Apache for Web server
-Web client: Firefox, Chrome, IE.
First has to be checked if some other daemon is bound to 80 port by using:nmap machinname which provides the active ports that are used - port 80 should be checked. If some other process is using the port 80 kill the process.