
Journal Application

Nikola Filipovski
Full-Stack Web Developer
Overview
I designed and built Journal for a friend who writes under the name Mind Dump. He wanted a place of his own to publish travel stories, reviews, and reflections on everyday life, and to keep track of how he was feeling. I took my design cues from literary magazines and built him a custom CMS for writing and editing longer pieces.
Since launch, I’ve kept developing Journal around the way he actually uses it. Some changes were as simple as adding a button that opens the editor directly. Others changed how people find their way through the blog, especially categories, tags, and links between posts.
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS and CSS custom properties |
| Database | PostgreSQL |
| ORM | Drizzle ORM |
| Authentication | Session-based authentication |
| Media | Cloudinary |
| Hosting | Vercel |
Design and Typography
I chose Playfair Display for headings and Source Serif 4 for body text. The palette pairs a near-black background (#0f0f0f) with steel-blue headings (#7eb8d4) and dark-red links (#c0504a). I defined the design tokens as CSS custom properties and connected them to Tailwind so I could use the same values throughout the site.
I wanted long posts to read comfortably on a phone as well as on a desktop. I added a skip link to the main content, built in keyboard navigation, and used ARIA attributes where they help make controls understandable to screen readers.
Public Blog
- Homepage. I feature the latest entry alongside recent posts and three categories the author chooses. The page also shows a daily quote from an external API, the most frequently recorded mood that month, and a randomly selected older post with a mood label that changes each day.
- Archive and search. I list published entries newest first. Full-text search covers titles, excerpts, content, and tags. Results appear in the header after a short pause in typing and can be navigated with the keyboard.
- Categories and tags. I built directories that show post counts. Clicking a category or tag opens the list of posts filed under it.
- Post pages. I added a drop cap, previous and next links, a view count, and a last-updated date. The author can insert a “No Further Updates” notice when he considers a post complete.
- Connected and related posts. The author can link installments and series by hand. Those links stay alongside the article while readers scroll on desktop and appear below the sharing and support controls on mobile. At the end of the article, I also recommend posts based on categories, tags, and content, with a random selection as a fallback.
- Sharing and support. I added sharing for Facebook, LinkedIn, Reddit, X, and WhatsApp, along with a copy-link button. The author can place a Buy Me a Coffee banner inside a post, and readers can find the support option on the homepage and beside the share controls. I also added a button to make Journal a preferred source on Google.
- About page and navigation. I built the About page so the author can edit it in the CMS. I redesigned the footer to make the archive, categories, tags, and other key pages easier to find. I carried the blog’s visual style into the 404 and error pages.
Admin CMS
I spent the most time on the editor. I wanted the author to be able to draft a piece, see how it would look, and publish it from the same interface.
- Dashboard and account. The dashboard shows the author’s profile image and username, counts for published posts and drafts, and total post views. I added direct preview and edit links to the post list. In account settings, the author can manage his profile and password, view his email and role, and sign out across all devices.
- Markdown editor. I built Write, Split, and Preview modes. The toolbar supports formatting, quotes, links, headings through H6, horizontal rules, Buy Me a Coffee banners, and the “No Further Updates” notice.
- Publishing workflow. The CMS saves drafts, generates URL slugs, and shows a word count and estimated reading time. The author uses the same editor to maintain the About page and add images, video, and voice recordings.
- Category management. I gave the author control over creating, editing, and deleting categories, including their names, descriptions, and colors. He can choose which three appear on the homepage.
- Mood tracker. I built a monthly calendar where the author can choose from 28 moods, add a daily note, and revisit entries for individual dates.
Media and Voice Recording
I added drag-and-drop and file-picker uploads for images, video, and audio directly in the editor. I validate file type and size before upload and use Cloudinary to store, optimize, and serve the files. The author can add captions and give important images loading priority. For voice recording, I use the browser’s MediaRecorder API. The editor shows a timer and lets the author play back the recording before inserting it.
Authentication, Database, and API
I use email and password sign-in for the admin area. Sessions expire automatically and refresh during activity. I check access to admin pages and their API routes on the server.
I store posts and their metadata, mood entries, and account and session records in PostgreSQL. I organized database operations in a typed query layer using Drizzle ORM and use Drizzle Studio for local inspection. Internal REST endpoints support creating, editing, and deleting posts, uploading media, and searching the blog.
SEO, Analytics, and Hosting
I added Schema.org structured data, a sitemap, and Open Graph and Twitter Card metadata for link previews. I excluded admin and error pages from indexing. I also fixed the server output so the author’s name and profile image are included in the article page delivered to crawlers.
I integrated Google Analytics with the site’s cookie controls. In later updates, I fixed a cookie issue, corrected metadata, and applied security patches. I removed the “Estimated Journey” feature after the external provider changed its terms and its handling of IP addresses raised privacy concerns.
Journal runs on Vercel and connects to a managed PostgreSQL database through environment variables. Changes pushed to the main branch trigger automatic deployments. I added a PWA manifest for the icons, theme color, and display mode used when the site is launched from a phone’s home screen. The daily quote refreshes automatically through time-based revalidation.
Documentation
I documented writing in Markdown, inserting media, working with drafts, publishing, and tracking moods. The technical documentation covers dependency maintenance, database migrations, Vercel and Cloudinary setup, and extending the application.
How Journal Has Evolved
The author has written about how he uses Journal and what’s changed since launch.