{{item.active?'Online':'Offline'}}
++ A real-time messaging app where conversations happen instantly. + Start chatting now and stay connected effortlessly! +
+Members
+{{item.active?'Online':'Offline'}}
++ {{currentUser?.active ? 'Online' : 'Offline'}} +
+not-found works!
diff --git a/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/not-found/not-found.component.scss b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/not-found/not-found.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/not-found/not-found.component.ts b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/not-found/not-found.component.ts new file mode 100644 index 00000000..91a9593a --- /dev/null +++ b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/not-found/not-found.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-not-found', + templateUrl: './not-found.component.html', + styleUrl: './not-found.component.scss' +}) +export class NotFoundComponent { + +} diff --git a/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/shared.module.ts b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/shared.module.ts new file mode 100644 index 00000000..9fa6808e --- /dev/null +++ b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/app/shared/shared.module.ts @@ -0,0 +1,22 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { RouterModule } from '@angular/router'; + +import { NavbarComponent } from '../shared/navbar/navbar.component'; +import { NotFoundComponent } from '../shared/not-found/not-found.component'; +import { ModalComponent } from './modal/modal.component'; + + +@NgModule({ + declarations: [ + NavbarComponent, + NotFoundComponent, + ModalComponent + ], + imports: [ + CommonModule, + RouterModule + ], + exports:[NavbarComponent, NotFoundComponent, ModalComponent] +}) +export class SharedModule { } diff --git a/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/environments/environment.ts b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/environments/environment.ts new file mode 100644 index 00000000..5fc5a1e9 --- /dev/null +++ b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/environments/environment.ts @@ -0,0 +1,5 @@ +export const environment = { + production: false, + apiUrl: 'http://localhost:8000/users' // Development API URL + }; + \ No newline at end of file diff --git a/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/index.html b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/index.html new file mode 100644 index 00000000..5dd26f4a --- /dev/null +++ b/src/app/(category)/angular/(projects)/real-time-chat-application/frontend/src/index.html @@ -0,0 +1,15 @@ + + + + +