Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Web application for flight & car reservation /w Aviation, Rent-a-Car, and System Admin user roles. [School Project - Faculty of Technical Sciences] 🏫

Notifications You must be signed in to change notification settings

SrdjanStankov/Web2_Projekat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Web2_Projekat

This is a school project for Web course in Faculty of Technical Sciences - University of Novi Sad.

Authors:

Getting Started

Prerequisites

You will need the following tools:

Setup

Follow these steps to get your development environment set up:

  1. Make sure that Docker Desktop is running
  2. Make sure that Kubernetes is running in Docker Desktop Dashboard Docker Settings
  3. Clone the repository
  4. Go to PUSGS_Project/ClientApp directory and run: npm install
  5. Build solution in Visual Studio (2017 or 2019)
  6. Run: PUSGS_Project/Setup.bat

Configuration

Due to possible security difficulties of sending email to gmail from localhost during development, additional steps are required to make sure you get email service working.

For this reason we have added properties which you can modify in PUSGS_Project/k8s/api-secret.yaml as explained below.

  /* used for jwt authorization */
  jwt-secret: "..."

  /* used when creating redirect href link in email */
  client-url: "http://localhost:4200"

  /* if true user can't login until he verifies email */
  require-email-verification: "true"

  /* your email */
  network-credential-username: "...@gmail.com"

  /* password generated when you link gmail with local machine (2-step-verification) */
  network-credential-password: "..."

  /* if true all emails will be redirected to your email (great for development) */
  redirect-email-to-credential-username: "true"

  /* client host (smtp.gmail.com for gmail) */
  smtp-client-host: "smtp.gmail.com"

  /* port for your smtp client (ex. 587 or 25) */
  smtp-client-port: "587"

  /* if true reservation invites/accept notifications will be sent via email */
  send-email-notifications: "true"

Doc

Project specification (currently only available in Serbian language) can be found here (or here (pdf))