Skip to content

Commit 0ef28c1

Browse files
committed
update
1 parent 774a1e9 commit 0ef28c1

File tree

13 files changed

+28
-1
lines changed

13 files changed

+28
-1
lines changed

server.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//Server for API call to database
2+
//@author Rohith Ravindranath
3+
//@version July 10 2019
4+
15
require('dotenv').config()
26
var express=require('express');
37
var app=express();

src/app/edit-data/edit-data.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
import { Component, OnInit } from '@angular/core';
24
import {ActivatedRoute, Router} from '@angular/router';
35
import { HttpService } from '../http.service';

src/app/header/header.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
import { Component, OnInit } from '@angular/core';
24
import { Router,ActivatedRoute } from '@angular/router';
35

src/app/http.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
import { Injectable } from '@angular/core';
24
import {HttpClient,HttpHeaders} from '@angular/common/http'
35

src/app/load-data/load-data.component.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
23

34
import { LoadDataComponent } from './load-data.component';

src/app/load-data/load-data.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
import { Component, OnInit } from '@angular/core';
24
import {Router} from '@angular/router';
35
import { HttpService } from '../http.service';
@@ -244,7 +246,7 @@ export class LoadDataComponent implements OnInit {
244246

245247
if (this.addressModel.address1 == ''){ this.errAddress1 = true; this.validate_inputs=false; }
246248
else{ this.errAddress1 = false;}
247-
249+
248250
if (this.addressModel.city == ''){ this.errCity = true; this.validate_inputs=false; }
249251
else{ this.errCity = false;}
250252
if (this.addressModel.state== ''){ this.errState = true; this.validate_inputs=false; }

src/app/models/address-info.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
export class AddressInfo {
24
constructor(
35
public address1:string,

src/app/models/house-info.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
export class HouseInfo {
24
constructor(
35
public lotArea:string,

src/app/models/predict-house-info.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
export class PredictHouseInfo {
24
constructor(
35
public address1:string,

src/app/predict-data/predict-data.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//@author Rohith Ravindranath
2+
//@version July 10 2019
13
import { Component, OnInit } from '@angular/core';
24
import {Router} from '@angular/router';
35
import { HttpService } from '../http.service';

0 commit comments

Comments
 (0)