School project implementing 5 tier architecture.
- Download or clone this project.
- Make sure you have
unixodbc
package installed as well as an odbc driver (preferably 64bit) for your dbms of choice. - If you don't have a webserver and don't want to configure one yourself you can download XAMPP from here and install it.
- Start your webserver with the dbms installed and use the
ddl.sql
script from the sql folder of this project to create the required db. - Configure a dsn in your
odbc.ini
with the namem151
connecting to the previously created db. - If you havent installed the unix build tools for your distribution yet do that now and also install python 2.7.x.
- Run
npm install
andnpm start
in the project root directory. - If everything worked fine you can acces the webpage at http://localhost:3000
- Download or clone this project.
- Download XAMPP from here and install it.
- Download the mysql odbc connector fromhere
On windows you need the 32bit connector because XAMMP for Windows is a 32bit application unlike the Linux and OSX versions.
Install it. - Start apache and mysql from XAMMP Control Panel and execute the sql script in
ddl.sql
located in the sql folder of this project. - Create a dsn with the bult in 32bit odbc manager (Windows 7 user may need to run
c:\Windows\SysWOW64\odbcad32.exe in order to open the 32bit odbc manager
).
Name itm151
. - Run
npm install -g windows-build-tools
(installs visualc++ build tools as well as python.
Windows 7 Users need to install .NET Framework 4.5.1) - Run
npm install
in the project root directory. - If everything went well you can run
npm start
in the project root and access the page at http://localhost:3000