Skip to content

Latest commit

 

History

History
executable file
·
78 lines (57 loc) · 2.12 KB

README.md

File metadata and controls

executable file
·
78 lines (57 loc) · 2.12 KB

One Blog

Framework Language License

Tech Stack

Name Link
Framework Next.js
Deployment Vercel
Database PostgreSQL
ORM Drizzle
Rich Text Editor Tiptap
Icons Lucide
Authentication NextAuth
Styling TailwindCSS

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/tszhong0411/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