An open API service indexing awesome lists of open source software.

https://github.com/destructo570/neko-serverless-blogging-website

Serverless blogging website with notion like editor. Made with Cloudflare workers, Hono and NextJs.
https://github.com/destructo570/neko-serverless-blogging-website

blogging cloudflare-workers hono monorepo nextjs nextjs14 novelai postgres prisma-orm shadcn-ui tailwindcss turborepo typescript

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# βœ’οΈ Neko - Serverless blog website

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

🌈Screenshots










[Live Demo](https://neko-serverless-blogging-website-frontend.vercel.app/)
#### 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 blog

## 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
- [x] Post like functionality
- [x] Upload cover images to s3
- [x] Add search functionality
- [x] 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:

```sh
npm install
```

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

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

4. Then generate prisma client using these command

```sh
cd ./apps/backend
npx prisma generate
```

5. Then run the build command from root folder using
```sh
npm run dev
```