This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- API endpoints not longer available, now it is required to login via m365 oauth - Added banner and /login /home routes disabled - Serverless app stopped
- Loading branch information
Showing
9 changed files
with
163 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,37 @@ | ||
# 📆 Mi horario UN | ||
|
||
> Since 2020 more than 7k schedules have been imported to Google Calendar! | ||
| API | Web Page | | ||
| -----| --------- | | ||
| ![Uptime Badge](https://uptime.donado.co/api/badge/6/uptime/24?labelPrefix=API%20&labelSuffix=h) ![Uptime Badge](https://uptime.donado.co/api/badge/6/ping/24?labelPrefix=API%20) | ![Uptime Badge](https://uptime.donado.co/api/badge/5/uptime/24?labelPrefix=Web%20Page%20&labelSuffix=h) ![Uptime Badge](https://uptime.donado.co/api/badge/5/ping/24?labelPrefix=Web%20Page%20) | | ||
<!-- | API | Web Page | --> | ||
<!-- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --> | ||
<!-- | ![Uptime Badge](https://uptime.donado.co/api/badge/6/uptime/24?labelPrefix=API%20&labelSuffix=h) ![Uptime Badge](https://uptime.donado.co/api/badge/6/ping/24?labelPrefix=API%20) | ![Uptime Badge](https://uptime.donado.co/api/badge/5/uptime/24?labelPrefix=Web%20Page%20&labelSuffix=h) ![Uptime Badge](https://uptime.donado.co/api/badge/5/ping/24?labelPrefix=Web%20Page%20) | --> | ||
|
||
<img width="1400" alt="image" src="https://user-images.githubusercontent.com/27580836/233056842-b706ca7f-fd7d-46bc-bf75-725ced66937d.png"> | ||
|
||
## Disclaimer | ||
|
||
**This application is an open-source project, and it is not associated or officially supported by the Universidad del Norte.** | ||
|
||
## Contribute | ||
|
||
Want to fix a bug, contribute, or improve documentation? Awesome! Check out the [guidelines](https://github.com/sjdonado/quevent/blob/master/CONTRIBUTING.md). | ||
|
||
## How to run? | ||
|
||
1. Create the oauth credentials/app [here](https://support.google.com/cloud/answer/6158849) | ||
2. Run the server + client | ||
|
||
2. Run server | ||
|
||
```bash | ||
npm install | ||
npm run --prefix server dev | ||
npm run --prefix client start | ||
bun dev | ||
``` | ||
|
||
3. Run client | ||
|
||
```bash | ||
NODE_OPTIONS=--openssl-legacy-provider bun start | ||
``` | ||
|
||
## Inspiration | ||
|
||
First version was made by [krthr](https://github.com/krthr) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
import { LoginComponent } from './components/login/login.component'; | ||
import { PrivacyPolicyComponent } from './components/privacy-policy/privacy-policy.component'; | ||
import { IndexComponent } from './components/index/index.component'; | ||
import { HelpComponent } from './components/help/help.component'; | ||
import { NgModule } from "@angular/core"; | ||
import { Routes, RouterModule } from "@angular/router"; | ||
import { LoginComponent } from "./components/login/login.component"; | ||
import { PrivacyPolicyComponent } from "./components/privacy-policy/privacy-policy.component"; | ||
import { IndexComponent } from "./components/index/index.component"; | ||
import { HelpComponent } from "./components/help/help.component"; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: IndexComponent | ||
path: "", | ||
component: IndexComponent, | ||
}, | ||
// { | ||
// path: 'login', | ||
// component: LoginComponent | ||
// }, | ||
{ | ||
path: 'login', | ||
component: LoginComponent | ||
path: "privacy-policy", | ||
component: PrivacyPolicyComponent, | ||
}, | ||
{ | ||
path: 'privacy-policy', | ||
component: PrivacyPolicyComponent | ||
path: "help", | ||
component: HelpComponent, | ||
}, | ||
{ | ||
path: 'help', | ||
component: HelpComponent | ||
}, | ||
{ | ||
path: 'home', | ||
loadChildren: () => import('./components/home/home.module').then(m => m.HomeModule), | ||
}, | ||
{ path: '**', redirectTo: '/' }, | ||
// { | ||
// path: 'home', | ||
// loadChildren: () => import('./components/home/home.module').then(m => m.HomeModule), | ||
// }, | ||
{ path: "**", redirectTo: "/" }, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forRoot(routes)], | ||
exports: [RouterModule] | ||
exports: [RouterModule], | ||
}) | ||
export class AppRoutingModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
<router-outlet ></router-outlet> | ||
<router-outlet></router-outlet> | ||
<footer fxLayout="row" fxLayoutAlign="center center"> | ||
<p class="link" routerLink="/help">Ayuda</p> | ||
<p>|</p> | ||
<p class="link" routerLink="/privacy-policy">Política de privacidad</p> | ||
<p>|</p> | ||
<p><a href="https://uptime.donado.co/status/apps" target="_blank" aria-label="Estado de la aplicación" rel="noopener">Estado de la aplicación</a></p> | ||
<p>|</p> | ||
<p><a href="https://github.com/sjdonado/mihorario" target="_blank" aria-label="Código fuente" rel="noopener">Código fuente</a></p> | ||
<!-- <p><a href="https://uptime.donado.co/status/apps" target="_blank" aria-label="Estado de la aplicación" rel="noopener">Estado de la aplicación</a></p> --> | ||
<!-- <p>|</p> --> | ||
<p> | ||
<a | ||
href="https://github.com/sjdonado/mihorario" | ||
target="_blank" | ||
aria-label="Código fuente" | ||
rel="noopener" | ||
>Código fuente</a | ||
> | ||
</p> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters