created basic webApplication

This commit is contained in:
2022-10-20 01:46:30 +10:00
parent af6a09c582
commit ed15ca57f6
32 changed files with 1286 additions and 490 deletions

View File

View File

@@ -0,0 +1 @@
<p>home works!</p>

View File

@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HomeComponent } from './home.component';
describe('HomeComponent', () => {
let component: HomeComponent;
let fixture: ComponentFixture<HomeComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ HomeComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(HomeComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,17 @@
import { Component, OnInit } from '@angular/core';
import { ApiChatService } from '../api-chat.service';
@Component({
selector: 'app-home',
template: `<h3>Домашний компонент</h3>`
})
export class HomeComponent implements OnInit {
title = 'Home компонент';
ngOnInit(): void {
}
}