/ddb-miniproject

A hotel management system using Oracle distributed databases. Made using Angular 2

Primary LanguageTypeScriptMIT LicenseMIT

Introduction - Hotel Management System

Mini Project for the subject distributed databases. Connects to an Oracle database. Built on Angular 2 using the seed repository found here

Prequisites

  • node.js with versions as mentioned in the seed repository
  • Any other requirements mentioned in the seed repository
  • Oracle 11g Enterprise or Express edition with the database ready in it

Setup & Run

  1. Clone the repository
git clone https://github.com/pavan-08/ddb-miniproject.git
  1. Setting up node packages
cd ddb-miniproject/
npm install
  1. Run the project on http://localhost:8081
npm start
  1. Build project
npm run webpack.build               # The output is built into dist/webpack/

After building, the output folder(dist/webpack/) can be uploaded to the servers where the server would be spun on the output folder.

Electron - Desktop application

The project can be deployed as a desktop application working on Windows, Linux or macOS

Start desktop application

npm run start.desktop

Deploy desktop application

npm run build.desktop.linux    #Linux build
npm run build.desktop.mac      #macOS build
npm run build.desktop.windows  #Windows build

The output is saved inside desktop directory in the project's root as a zip file which can be immediately unzipped and run in the respective OS