https://github.com/ruislan/kforum
a simple and modern forum
https://github.com/ruislan/kforum
community discussion forum headlessui nextjs prisma tailwindcss zustand
Last synced: 3 months ago
JSON representation
a simple and modern forum
- Host: GitHub
- URL: https://github.com/ruislan/kforum
- Owner: ruislan
- License: gpl-3.0
- Created: 2023-10-16T05:35:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T16:23:14.000Z (over 1 year ago)
- Last Synced: 2024-10-12T08:25:49.300Z (about 1 year ago)
- Topics: community, discussion, forum, headlessui, nextjs, prisma, tailwindcss, zustand
- Language: JavaScript
- Homepage: https://ruislan.com/works/kforum
- Size: 4.48 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KForum
A simple and modern forum.

## Build With
* Framework: NextJS
* Database: MySQL
* ORM: Prisma
* Auth: Next Auth
* State: Zustand
* Styling: Tailwind CSS、Headless UI
* Editor: TipTap
## Running Locally
1. Running MySQL first
2. Rename .env.example to .env
3. Set the property DATABASE_URL
```shell
cd kforum
pnpm install
pnpm prisma db push
pnpm seed:dev
pnpm dev
```
admin user:
```text
user: admin
pass: 123123
```
## Running Docker
1. Rename .env.example to .env
```shell
docker compose up -d
```
that's all, enjoy.
## Other
NextJS is amazing, you can build a website instantly. If your website is growing big, you can easily rewrite your backend services in any other languages (Java, Go, Rust, etc...).