neko-serverless-blogging-website

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

Stars
2

โœ’๏ธ Neko - Serverless blog website

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

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
Related Projects