Skip to content

Commit ff3733c

Browse files
author
Vishwas Gopinath - I16165
committed
Clean up
1 parent 2df2fcb commit ff3733c

File tree

10 files changed

+804
-271
lines changed

10 files changed

+804
-271
lines changed

ngApp/package-lock.json

Lines changed: 93 additions & 258 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ngApp/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
"@angular/platform-browser": "^5.2.0",
2222
"@angular/platform-browser-dynamic": "^5.2.0",
2323
"@angular/router": "^5.2.0",
24-
"body-parser": "^1.18.2",
2524
"core-js": "^2.4.1",
26-
"express": "^4.16.2",
27-
"jsonwebtoken": "^8.1.1",
28-
"mongoose": "^5.0.3",
2925
"rxjs": "^5.5.6",
3026
"zone.js": "^0.8.19"
3127
},

ngApp/src/app/auth.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Router } from '@angular/router'
55
@Injectable()
66
export class AuthService {
77

8-
private _registerUrl = "/api/register";
9-
private _loginUrl = "/api/login";
8+
private _registerUrl = "http://localhost:3000/api/register";
9+
private _loginUrl = "http://localhost:3000/api/login";
1010

1111
constructor(private http: HttpClient,
1212
private _router: Router) { }

ngApp/src/app/event.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { HttpClient } from '@angular/common/http'
44
@Injectable()
55
export class EventService {
66

7-
private _eventsUrl = "/api/events";
8-
private _specialEventsUrl = "/api/special";
7+
private _eventsUrl = "http://localhost:3000/api/events";
8+
private _specialEventsUrl = "http://localhost:3000/api/special";
99

1010
constructor(private http: HttpClient) { }
1111

server/.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/dist-server
6+
/tmp
7+
/out-tsc
8+
9+
# dependencies
10+
/node_modules
11+
12+
# IDEs and editors
13+
/.idea
14+
.project
15+
.classpath
16+
.c9/
17+
*.launch
18+
.settings/
19+
*.sublime-workspace
20+
21+
# IDE - VSCode
22+
.vscode/*
23+
!.vscode/settings.json
24+
!.vscode/tasks.json
25+
!.vscode/launch.json
26+
!.vscode/extensions.json
27+
28+
# misc
29+
/.sass-cache
30+
/connect.lock
31+
/coverage
32+
/libpeerconnection.log
33+
npm-debug.log
34+
testem.log
35+
/typings
36+
37+
# e2e
38+
/e2e/*.js
39+
/e2e/*.map
40+
41+
# System Files
42+
.DS_Store
43+
Thumbs.db
File renamed without changes.

0 commit comments

Comments
 (0)