About
A small journal, rebuilt
The Daily Journal started in 2021 as a course project: a blog built with Node.js, Express and EJS templates, with its posts stored in MongoDB and the site hosted on Heroku. When Heroku ended its free plan, the site went offline.
This is the 2026 rebuild. It keeps the idea (a clean place to write and read posts) and swaps everything underneath for something simpler and more modern.
How it's built
- Server: Node.js and Express, with a small JSON API for the posts (the demo on ryanlucas.co.uk runs a PHP copy of the same API, because that web host only runs PHP)
- Database: SQLite, the database built into Node.js: the whole blog is one file
- Pages: HTML, Tailwind CSS and plain JavaScript, in light and dark mode
- Writing: Markdown with a live preview, turned into HTML safely in the browser
- Publishing: protected by a passcode, with a lock-out after five wrong tries; visitors' drafts stay in their own browser
Get in touch
This journal is one of the projects on ryanlucas.co.uk, where you'll find the others and a contact form.