Name | Link |
---|---|
Framework | Next.js |
Deployment | Vercel |
Database | PostgreSQL |
ORM | Drizzle |
Rich Text Editor | Tiptap |
Icons | Lucide |
Authentication | NextAuth |
Styling | TailwindCSS |
- 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
Follow these steps to run the project locally on your machine:
- Clone the repository
git clone https://github.com/tszhong0411/one-blog.git
- Navigate to the project directory
cd one-blog
- Install dependencies
pnpm install
- Configure environment variables
Create a .env.local
file based on the provided .env.example
file and fill in the necessary variables.
- Start docker compose
docker compose up -d
- Run the development server
pnpm dev
Made with ❤️ in Hong Kong