Skip to content

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

Notifications You must be signed in to change notification settings

destructo570/neko-serverless-blogging-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✒️ Neko - Serverless blog website

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

🌈Screenshots

Live Demo

Test Creds

[email protected] : 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