Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login #4

Merged
merged 3 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions todo-app-frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ testem.log
.DS_Store
Thumbs.db
.angular
*.css
*.css.map
8 changes: 5 additions & 3 deletions todo-app-frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/todo-app-frontend",
"index": "src/index.html",
Expand All @@ -30,7 +30,8 @@
"src/assets"
],
"styles": [
"src/styles.scss"
"@angular/material/prebuilt-themes/purple-green.css",
"src/styles.scss"
],
"scripts": []
},
Expand Down Expand Up @@ -93,7 +94,8 @@
"src/assets"
],
"styles": [
"src/styles.scss"
"@angular/material/prebuilt-themes/purple-green.css",
"src/styles.scss"
],
"scripts": []
}
Expand Down
915 changes: 907 additions & 8 deletions todo-app-frontend/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions todo-app-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
"private": true,
"dependencies": {
"@angular/animations": "^16.2.0",
"@angular/cdk": "^16.2.8",
"@angular/common": "^16.2.0",
"@angular/compiler": "^16.2.0",
"@angular/core": "^16.2.0",
"@angular/forms": "^16.2.0",
"@angular/material": "^16.2.8",
"@angular/platform-browser": "^16.2.0",
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/router": "^16.2.0",
Expand All @@ -34,9 +36,7 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"postcss": "^8.4.31",
"scss": "^0.2.4",
"tailwindcss": "^3.3.3",
"typescript": "~5.1.3"
}
}
6 changes: 0 additions & 6 deletions todo-app-frontend/postcss.config.js

This file was deleted.

21 changes: 17 additions & 4 deletions todo-app-frontend/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { RouterPaths } from "@enums/RouterPaths";

const routes: Routes = [];
const routes: Routes = [
{
path: "auth",
loadChildren: () => import("./pages/auth/auth.module")
.then(module => module.AuthModule)
},
{
path: RouterPaths.CURRENT_PATH,
redirectTo: "auth/login",
pathMatch: 'full'
}
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
export class AppRoutingModule {
}
Loading