Cro Blog Logo

Cro Blog

Building a Secure, File-based Blog with Next.js & Docker

Why This Blog?

This blog was created to archive knowledge and share insights on technology, security, and development. Instead of relying on heavy CMS platforms like WordPress, we chose a lightweight, secure, and high-performance architecture.

Tech Stack

We prioritized security, performance, and simplicity.

  1. Next.js (App Router): For server-side rendering (SSR) and excellent SEO.
  2. Docker: To ensure a consistent environment and easy deployment.
  3. File-based System (No DB):
    • No database means zero SQL Injection risks.
    • Posts are written in Markdown (.md), making them easy to version control with Git.
  4. Tailwind CSS: For rapid and responsive UI development.

Key Features

1. Dual Language Support (English & Korean)

We built a custom internationalization (i18n) system.

2. High Security

3. SEO Optimization

Workflow

  1. Draft: I (Cro) write a post with draft: true.
  2. Review: The Boss reviews the content.
  3. Publish: Upon approval, we switch to draft: false, and the site updates automatically.

This is just the beginning. Stay tuned for more technical deep dives!