Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/add blog post hacktoberfest 2022 (#1310)
Thomas Kaul81c6cc021d1c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex df7830ce71..73aae3b1a3 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## Unreleased+### Added++- Added a blog post: _Hacktoberfest 2022_+### Changed- Improved the usage of the value component in the admin control paneldiff --git a/apps/api/src/app/frontend.middleware.ts b/apps/api/src/app/frontend.middleware.tsindex ccf6ca05cc..a1ab6452c1 100644--- a/apps/api/src/app/frontend.middleware.ts+++ b/apps/api/src/app/frontend.middleware.ts@@ -58,6 +58,11 @@ export class FrontendMiddleware implements NestMiddleware {req.path === '/en/blog/2022/08/500-stars-on-github/') {featureGraphicPath = 'assets/images/blog/500-stars-on-github.jpg';+ } else if (+ req.path === '/en/blog/2022/10/hacktoberfest-2022' ||+ req.path === '/en/blog/2022/10/hacktoberfest-2022/'+ ) {+ featureGraphicPath = 'assets/images/blog/hacktoberfest-2022.png';}if (diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.tsindex da506e6737..856230eb65 100644--- a/apps/client/src/app/app-routing.module.ts+++ b/apps/client/src/app/app-routing.module.ts@@ -95,6 +95,13 @@ const routes: Routes = ['./pages/blog/2022/08/500-stars-on-github/500-stars-on-github-page.module').then((m) => m.FiveHundredStarsOnGitHubPageModule)},+ {+ path: 'blog/2022/10/hacktoberfest-2022',+ loadChildren: () =>+ import(+ './pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.module'+ ).then((m) => m.Hacktoberfest2022PageModule)+ },{path: 'demo',loadChildren: () =>diff --git a/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page-routing.module.ts b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page-routing.module.tsnew file mode 100644index 0000000000..7ee6a0cff3--- /dev/null+++ b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page-routing.module.ts@@ -0,0 +1,20 @@+import { NgModule } from '@angular/core';+import { RouterModule, Routes } from '@angular/router';+import { AuthGuard } from '@ghostfolio/client/core/auth.guard';++import { Hacktoberfest2022PageComponent } from './hacktoberfest-2022-page.component';++const routes: Routes = [+ {+ canActivate: [AuthGuard],+ component: Hacktoberfest2022PageComponent,+ path: '',+ title: 'Hacktoberfest 2022'+ }+];++@NgModule({+ imports: [RouterModule.forChild(routes)],+ exports: [RouterModule]+})+export class Hacktoberfest2022RoutingModule {}diff --git a/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.component.ts b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.component.tsnew file mode 100644index 0000000000..7417a09bf9--- /dev/null+++ b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.component.ts@@ -0,0 +1,9 @@+import { Component } from '@angular/core';++@Component({+ host: { class: 'page' },+ selector: 'gf-hacktoberfest-2022-page',+ styleUrls: ['./hacktoberfest-2022-page.scss'],+ templateUrl: './hacktoberfest-2022-page.html'+})+export class Hacktoberfest2022PageComponent {}diff --git a/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.html b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.htmlnew file mode 100644index 0000000000..f2d9e90b4c--- /dev/null+++ b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.html@@ -0,0 +1,178 @@+<div class="blog container">+ <div class="row">+ <div class="col-md-8 offset-md-2">+ <article>+ <div class="mb-4 text-center">+ <h1 class="mb-1">Hacktoberfest 2022</h1>+ <div class="mb-3 text-muted"><small>2022-10-01</small></div>+ <img+ alt="Hacktoberfest 2022 with Ghostfolio Teaser"+ class="rounded w-100"+ src="../assets/images/blog/hacktoberfest-2022.png"+ title="Hacktoberfest 2022 with Ghostfolio"+ />+ </div>+ <section class="mb-4">+ <p>+ We are very excited to join+ <a href="https://hacktoberfest.com">Hacktoberfest</a> for the first+ time with <a href="https://ghostfol.io">Ghostfolio</a> and meet new+ and ambitious open-source contributors. Hacktoberfest is a+ month-long celebration of open-source projects, their maintainers,+ and the entire community of contributors. Each October, open source+ maintainers from all over the world give extra attention to new+ contributors while guiding them through their first pull requests on+ <a href="https://github.com/ghostfolio/ghostfolio">GitHub</a>.+ </p>+ </section>+ <section class="mb-4">+ <h2 class="h4">About Ghostfolio</h2>+ <p>+ Ghostfolio is a modern web application to manage your personal+ finance. The software presents the current assets in real time and+ supports the decision making of future investments. Whether+ rebalancing the asset classes (stocks, ETFs, cryptocurrencies, etc.)+ of your portfolio or financing an apartment, Ghostfolio offers+ solid, data-driven decision support.+ </p>+ <p>+ Ghostfolio is written in+ <a href="https://www.typescriptlang.org">TypeScript</a> and+ organized as an <a href="https://nx.dev">Nx</a> workspace. The+ backend is based on <a href="https://nestjs.com">NestJS</a> using+ <a href="https://www.postgresql.org">PostgreSQL</a> as a database+ together with <a href="https://www.prisma.io">Prisma</a> and+ <a href="https://redis.io">Redis</a> for caching. The frontend is+ built with <a href="https://angular.io">Angular</a>.+ </p>+ </section>+ <section class="mb-4">+ <h2 class="h4">How to contribute?</h2>+ <p>+ Every contribution matters. This can be implementing new features,+ fixing bugs, refactoring the code, improving the documentation,+ adding more unit tests, or translating into another language.+ </p>+ <p>+ Are you not yet familiar with our code base? That is not a problem.+ We have applied the label <code>hacktoberfest</code> to a few+ <a+ href="https://github.com/ghostfolio/ghostfolio/issues?q=is%3Aissue+is%3Aopen+label%3Ahacktoberfest"+ >issues</a+ >+ and+ <a+ href="https://github.com/ghostfolio/ghostfolio/discussions?discussions_q=label%3Ahacktoberfest"+ >ideas</a+ >+ that are well suited for newcomers.+ </p>+ <p>+ The official Hacktoberfest website provides some valuable+ <a+ href="https://hacktoberfest.com/participation/#beginner-resources"+ >resources for beginners</a+ >+ to start contributing in open source.+ </p>+ </section>+ <section class="mb-4">+ <h2 class="h4">Get support</h2>+ <p>+ If you have further questions or ideas, please join our growing+ <a href="https://ghostfolio.slack.com">Slack community</a> or get in+ touch on Twitter+ <a href="https://twitter.com/ghostfolio_">@ghostfolio_</a> or by+ email via <a href="mailto:[email protected]">[email protected]</a>.+ </p>+ <p>+ We look forward to hearing from you.<br />+ Thomas from Ghostfolio+ </p>+ </section>+ <section class="mb-4">+ <ul class="list-inline">+ <li class="list-inline-item">+ <span class="badge badge-light">Angular</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Community</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Cryptocurrency</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">ETF</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Finance</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Fintech</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Ghostfolio</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">GitHub</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Hacktoberfest</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Investment</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">NestJS</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Nx</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">October</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Open Source</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">OSS</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Personal Finance</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Portfolio</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Portfolio Tracker</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Prisma</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Software</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Stock</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">TypeScript</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Wealth</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Wealth Management</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Web3</span>+ </li>+ <li class="list-inline-item">+ <span class="badge badge-light">Web 3.0</span>+ </li>+ </ul>+ </section>+ </article>+ </div>+ </div>+</div>diff --git a/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.module.ts b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.module.tsnew file mode 100644index 0000000000..fba8a359d5--- /dev/null+++ b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.module.ts@@ -0,0 +1,13 @@+import { CommonModule } from '@angular/common';+import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';+import { RouterModule } from '@angular/router';++import { Hacktoberfest2022RoutingModule } from './hacktoberfest-2022-page-routing.module';+import { Hacktoberfest2022PageComponent } from './hacktoberfest-2022-page.component';++@NgModule({+ declarations: [Hacktoberfest2022PageComponent],+ imports: [CommonModule, Hacktoberfest2022RoutingModule, RouterModule],+ schemas: [CUSTOM_ELEMENTS_SCHEMA]+})+export class Hacktoberfest2022PageModule {}diff --git a/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.scss b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.scssnew file mode 100644index 0000000000..5d4e87f30f--- /dev/null+++ b/apps/client/src/app/pages/blog/2022/10/hacktoberfest-2022/hacktoberfest-2022-page.scss@@ -0,0 +1,3 @@+:host {+ display: block;+}diff --git a/apps/client/src/app/pages/blog/blog-page.html b/apps/client/src/app/pages/blog/blog-page.htmlindex 2cdd2a6041..f2d1de3225 100644--- a/apps/client/src/app/pages/blog/blog-page.html+++ b/apps/client/src/app/pages/blog/blog-page.html@@ -2,6 +2,30 @@<div class="mb-5 row"><div class="col"><h3 class="mb-3 text-center" i18n>Blog</h3>+ <mat-card class="mb-3">+ <mat-card-content>+ <div class="container p-0">+ <div class="flex-nowrap no-gutters row">+ <a+ class="d-flex w-100"+ href="../en/blog/2022/10/hacktoberfest-2022"+ >+ <div class="flex-grow-1">+ <div class="h6 m-0 text-truncate">Hacktoberfest 2022</div>+ <div class="d-flex text-muted">2022-10-01</div>+ </div>+ <div class="align-items-center d-flex">+ <ion-icon+ class="chevron text-muted"+ name="chevron-forward-outline"+ size="small"+ ></ion-icon>+ </div>+ </a>+ </div>+ </div>+ </mat-card-content>+ </mat-card><mat-card class="mb-3"><mat-card-content><div class="container p-0">diff --git a/apps/client/src/assets/images/blog/hacktoberfest-2022.png b/apps/client/src/assets/images/blog/hacktoberfest-2022.pngnew file mode 100644index 0000000000..0f20e0406bBinary files /dev/null and b/apps/client/src/assets/images/blog/hacktoberfest-2022.png differdiff --git a/apps/client/src/assets/sitemap.xml b/apps/client/src/assets/sitemap.xmlindex b6b8a70e99..58c9b96739 100644--- a/apps/client/src/assets/sitemap.xml+++ b/apps/client/src/assets/sitemap.xml@@ -6,70 +6,74 @@http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc>https://ghostfol.io</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/de/blog/2021/07/hallo-ghostfolio</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/about</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/about/changelog</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/blog</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/blog/2021/07/hello-ghostfolio</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/blog/2022/01/ghostfolio-first-months-in-open-source</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/blog/2022/07/ghostfolio-meets-internet-identity</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/blog/2022/07/how-do-i-get-my-finances-in-order</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/blog/2022/08/500-stars-on-github</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod>+ </url>+ <url>+ <loc>https://ghostfol.io/en/blog/2022/10/hacktoberfest-2022</loc>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/demo</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/faq</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/features</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/markets</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/pricing</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/register</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url><url><loc>https://ghostfol.io/en/resources</loc>- <lastmod>2022-09-01T00:00:00+00:00</lastmod>+ <lastmod>2022-10-01T00:00:00+00:00</lastmod></url></urlset>