Implement createSession and store it in localStorage

This commit is contained in:
2025-01-31 08:27:13 +01:00
parent a433daf5ef
commit 8d4b47a9cc
19 changed files with 108 additions and 92 deletions

View File

@ -2,22 +2,24 @@ import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {HelloComponent} from './hello/hello.component';
import {NavbarComponent} from './navbar/navbar.component';
import {AppComponent} from './components/app.component';
import {HelloComponent} from './components/hello/hello.component';
import {BASE_PATH} from '../gen';
import {environment} from '../environments/environment';
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
import { LoginComponent } from './components/login/login.component';
import {FormsModule} from '@angular/forms';
@NgModule({
declarations: [
AppComponent,
HelloComponent
HelloComponent,
LoginComponent
],
imports: [
BrowserModule,
AppRoutingModule,
NavbarComponent
FormsModule
],
providers: [
{provide: BASE_PATH, useValue: environment.apiBasePath},