Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🀍

Feature/add hacktoberfest 2023 blog post (#2359)

Thomas Kaul6230aa87e280
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 335c7d5a63..2f8c1cabf1 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 2023_
+
### Changed
- Upgraded `prettier` from version `3.0.2` to `3.0.3`
diff --git a/apps/api/src/assets/sitemap.xml b/apps/api/src/assets/sitemap.xml
index 52b2154e00..d0d04e72f9 100644
--- a/apps/api/src/assets/sitemap.xml
+++ b/apps/api/src/assets/sitemap.xml
@@ -262,6 +262,10 @@
<loc>https://ghostfol.io/en/blog/2023/09/ghostfolio-2</loc>
<lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url>
+ <url>
+ <loc>https://ghostfol.io/en/blog/2023/09/hacktoberfest-2023</loc>
+ <lastmod>${currentDate}T00:00:00+00:00</lastmod>
+ </url>
<url>
<loc>https://ghostfol.io/en/faq</loc>
<lastmod>${currentDate}T00:00:00+00:00</lastmod>
diff --git a/apps/api/src/middlewares/html-template.middleware.ts b/apps/api/src/middlewares/html-template.middleware.ts
index 2b7d24cb63..9d44bdbe08 100644
--- a/apps/api/src/middlewares/html-template.middleware.ts
+++ b/apps/api/src/middlewares/html-template.middleware.ts
@@ -80,6 +80,10 @@ const locales = {
'/en/blog/2023/09/ghostfolio-2': {
featureGraphicPath: 'assets/images/blog/ghostfolio-2.jpg',
title: `Announcing Ghostfolio 2.0 - ${titleShort}`
+ },
+ '/en/blog/2023/09/hacktoberfest-2023': {
+ featureGraphicPath: 'assets/images/blog/hacktoberfest-2023.png',
+ title: `Hacktoberfest 2023 - ${titleShort}`
}
};
diff --git a/apps/client/src/app/pages/blog/2023/09/hacktoberfest-2023/hacktoberfest-2023-page.component.ts b/apps/client/src/app/pages/blog/2023/09/hacktoberfest-2023/hacktoberfest-2023-page.component.ts
new file mode 100644
index 0000000000..614c681e83
--- /dev/null
+++ b/apps/client/src/app/pages/blog/2023/09/hacktoberfest-2023/hacktoberfest-2023-page.component.ts
@@ -0,0 +1,14 @@
+import { Component } from '@angular/core';
+import { MatButtonModule } from '@angular/material/button';
+import { RouterModule } from '@angular/router';
+
+@Component({
+ host: { class: 'page' },
+ imports: [MatButtonModule, RouterModule],
+ selector: 'gf-hacktoberfest-2023-page',
+ standalone: true,
+ templateUrl: './hacktoberfest-2023-page.html'
+})
+export class Hacktoberfest2023PageComponent {
+ public routerLinkAbout = ['/' + $localize`about`];
+}
diff --git a/apps/client/src/app/pages/blog/2023/09/hacktoberfest-2023/hacktoberfest-2023-page.html b/apps/client/src/app/pages/blog/2023/09/hacktoberfest-2023/hacktoberfest-2023-page.html
new file mode 100644
index 0000000000..9f062f6a0a
--- /dev/null
+++ b/apps/client/src/app/pages/blog/2023/09/hacktoberfest-2023/hacktoberfest-2023-page.html
@@ -0,0 +1,194 @@
+<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 2023</h1>
+ <div class="mb-3 text-muted"><small>2023-09-26</small></div>
+ <img
+ alt="Hacktoberfest 2023 with Ghostfolio Teaser"
+ class="rounded w-100"
+ src="../assets/images/blog/hacktoberfest-2023.png"
+ title="Hacktoberfest 2023 with Ghostfolio"
+ />
+ </div>
+ <section class="mb-4">
+ <p>
+ At Ghostfolio, <a [routerLink]="routerLinkAbout">we</a> are very
+ excited to participate in
+ <a href="https://hacktoberfest.com">Hacktoberfest</a> for the second
+ time, looking forward to connecting with new and enthusiastic
+ 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>. This
+ year the event celebrates its 10th anniversary.
+ </p>
+ </section>
+ <section class="mb-4">
+ <h2 class="h4">About Ghostfolio</h2>
+ <p>
+ <a href="https://ghostfol.io">Ghostfolio</a> is a modern web
+ application for managing personal finances. The software aggregates
+ your assets and empowers informed decision-making to help you
+ balance your portfolio or plan for future investments.
+ </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, utilizing
+ the latest framework releases. The backend is based on
+ <a href="https://nestjs.com">NestJS</a> in combination with
+ <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>
+ <p>
+ The software is used daily by a thriving global community. With over
+ <a [routerLink]="['/open']">2’600 stars on GitHub</a> and
+ <a [routerLink]="['/open']">300’000+ pulls on Docker Hub</a>,
+ Ghostfolio has gained widespread recognition for its user-friendly
+ experience and simplicity.
+ </p>
+ </section>
+ <section class="mb-4">
+ <h2 class="h4">How to contribute?</h2>
+ <p>
+ Each contribution can make a meaningful impact. Whether it involves
+ implementing new features, resolving bugs, refactoring code,
+ enhancing documentation, adding unit tests, or translating content
+ into another language, you can actively shape our project.
+ </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
+ >
+ 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
+ <a
+ href="https://join.slack.com/t/ghostfolio/shared_invite/zt-vsaan64h-F_I0fEo5M0P88lP9ibCxFg"
+ >Slack</a
+ >
+ community or get in touch on X
+ <a href="https://twitter.com/ghostfolio_">@ghostfolio_</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">Docker</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">TypeScript</span>
+ </li>
+ <li class="list-inline-item">
+ <span class="badge badge-light">UX</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>
+ <nav aria-label="breadcrumb">
+ <ol class="breadcrumb">
+ <li class="breadcrumb-item">
+ <a i18n [routerLink]="['/blog']">Blog</a>
+ </li>
+ <li
+ aria-current="page"
+ class="active breadcrumb-item text-truncate"
+ >
+ Hacktoberfest 2023
+ </li>
+ </ol>
+ </nav>
+ </article>
+ </div>
+ </div>
+</div>
diff --git a/apps/client/src/app/pages/blog/blog-page-routing.module.ts b/apps/client/src/app/pages/blog/blog-page-routing.module.ts
index 6041e3d892..290fb3a4a9 100644
--- a/apps/client/src/app/pages/blog/blog-page-routing.module.ts
+++ b/apps/client/src/app/pages/blog/blog-page-routing.module.ts
@@ -154,6 +154,15 @@ const routes: Routes = [
(c) => c.Ghostfolio2PageComponent
),
title: 'Ghostfolio 2.0'
+ },
+ {
+ canActivate: [AuthGuard],
+ path: '2023/09/hacktoberfest-2023',
+ loadComponent: () =>
+ import(
+ './2023/09/hacktoberfest-2023/hacktoberfest-2023-page.component'
+ ).then((c) => c.Hacktoberfest2023PageComponent),
+ title: 'Hacktoberfest 2023'
}
];
diff --git a/apps/client/src/app/pages/blog/blog-page.html b/apps/client/src/app/pages/blog/blog-page.html
index 259bfac7c4..827c277b34 100644
--- a/apps/client/src/app/pages/blog/blog-page.html
+++ b/apps/client/src/app/pages/blog/blog-page.html
@@ -8,6 +8,30 @@
finance</small
>
</h1>
+ <mat-card appearance="outlined" class="mb-3">
+ <mat-card-content>
+ <div class="container p-0">
+ <div class="flex-nowrap no-gutters row">
+ <a
+ class="d-flex overflow-hidden w-100"
+ href="../en/blog/2023/09/hacktoberfest-2023"
+ >
+ <div class="flex-grow-1 overflow-hidden">
+ <div class="h6 m-0 text-truncate">Hacktoberfest 2023</div>
+ <div class="d-flex text-muted">2023-09-26</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 appearance="outlined" class="mb-3">
<mat-card-content>
<div class="container p-0">
diff --git a/apps/client/src/assets/images/blog/hacktoberfest-2023.png b/apps/client/src/assets/images/blog/hacktoberfest-2023.png
new file mode 100644
index 0000000000..c9d0a3eac2
Binary files /dev/null and b/apps/client/src/assets/images/blog/hacktoberfest-2023.png differ