/neko-serverless-blogging-website

Serverless blogging website with notion like editor. Made with Cloudflare workers, Hono and NextJs.

Primary LanguageTypeScript

✒️ Neko - Serverless blog website

Serverless blogging website with notion like editor. Made with Cloudflare workers, Hono and NextJs.

🌈Screenshots

Live Demo

Test Creds

john@test.com : 123456

Features

📝 Create, Read, Update and Delete blogs
🔐 JWT auth handling with password salting using bcryptJs
🎨 Notion like editor for writing blogs
🔍 Search all relevant posts
❤️ Like your favorite posts
🌟 Code syntax highlighting support
💬 Reddit like infinite nesting comment system for posts\

Tech Stack

  • NextJs
  • Hono
  • Postgres
  • Cloudflare workers
  • ShadCN UI
  • Prisma ORM
  • Turbo repo
  • TypeScipt
  • Novel editor
  • Tailwind CSS
  • Tiptap text editor
  • Amazon s3 for file storage
  • Hono storage for handling multipart form data
  • TanStack Query v5

TODO

  • Post like functionality
  • Upload cover images to s3
  • Add search functionality
  • Comment section
  • Tags and Interests system
  • Dockerise the app
  • User dashboard
  • Subscription model
  • Follow/Unfollow functionality

Steps to run the project locally

  1. Run the following command to install all dependencies:
npm install
  1. Create a file called wrangler.toml in apps/backend and update the variables as per the example file

  2. Create a file called .env in apps/backend and update the variables as per the example file

  3. Then generate prisma client using these command

cd ./apps/backend
npx prisma generate
  1. Then run the build command from root folder using
  npm run dev