Skip to content

nelsonlaidev/one-blog

Repository files navigation

One Blog

A simple and full stack blogging platform built with Next.js.

Features

  • Authentication: Sign in with Google
  • Rich Text Editor: Create and edit blog posts with a rich text editor
  • Dark Mode: Toggle between light and dark mode
  • Like Button: Like and unlike blog posts
  • Drafts: Save blog posts as drafts
  • Visibility: Make blog posts public or private

Getting Started

Follow these steps to run the project locally on your machine:

  1. Clone the repository.
git clone https://github.com/nelsonlaidev/one-blog.git
  1. Navigate to the project directory.
cd one-blog
  1. Install dependencies.
pnpm install
  1. Configure environment variables.

Create a .env.local file based on the provided .env.example file and fill in the necessary variables.

  1. Start docker compose.
docker compose up -d
  1. Run the development server.
pnpm dev

Made with ❤️ in Hong Kong

Contributors 2

  •  
  •