https://github.com/bedstack/hono-prisma-realworld-example
RealWorld backend implementation built with Hono and Drizzle ORM
https://github.com/bedstack/hono-prisma-realworld-example
backend drizzle-orm hono realworld realworld-backend typescript web-server
Last synced: 5 days ago
JSON representation
RealWorld backend implementation built with Hono and Drizzle ORM
- Host: GitHub
- URL: https://github.com/bedstack/hono-prisma-realworld-example
- Owner: bedstack
- License: mit
- Created: 2025-07-08T14:58:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-12-15T19:28:29.000Z (5 months ago)
- Last Synced: 2026-01-25T08:16:30.661Z (3 months ago)
- Topics: backend, drizzle-orm, hono, realworld, realworld-backend, typescript, web-server
- Language: TypeScript
- Homepage: https://realworld.io
- Size: 669 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
PHp*
[Prisma](https://www.prisma.io/) + [Hono](https://hono.dev/) + [pnpm](https://pnpm.io/)
[](https://github.com/bedtime-coders/phpstack/blob/main/LICENSE)
[](https://www.prisma.io/)
[](https://hono.dev/)
[](https://pnpm.io/)
[](https://biomejs.dev/)
[](https://github.com/bedtime-coders/phpstack/stargazers/)
## PHp*: Prisma + Hono + pnpm
**PHp*** is a collection of bleeding-edge technologies to build modern web applications.
Including:
- **P**: [Prisma](https://www.prisma.io) - ORM
- **H**: [Hono](https://hono.dev) - HTTP Framework
- **p**: [pnpm](https://pnpm.io) - Package manager
## Development
1. Install dependencies
```bash
pnpm install
```
2. Copy `.env.example` to `.env` and fill in the values
```bash
cp .env.example .env
```
3. Push the database schema to the database
```bash
pnpm db:push
```
4. Start the server
```bash
pnpm dev
```
5. (Optional) Start the [database studio](https://www.prisma.io/studio)
```bash
pnpm db:studio
```
## Testing
```bash
pnpm test
```
## Building for production
1. Build the app
```bash
pnpm build
```
2. Run the production server (preview)
```bash
pnpm preview
```
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for more information, including how to set up your development environment.
---
*no relation to [PHP](https://www.php.net), the scripting language