https://github.com/shivam29k/medium-blog
This is a Simple Blogging Application similar to medium, backend is in hono and deployed on cloudflare workers and frontend is in react.
https://github.com/shivam29k/medium-blog
cloudflare-workers honojs prisma react tailwind workers zod
Last synced: 9 months ago
JSON representation
This is a Simple Blogging Application similar to medium, backend is in hono and deployed on cloudflare workers and frontend is in react.
- Host: GitHub
- URL: https://github.com/shivam29k/medium-blog
- Owner: Shivam29k
- Created: 2024-05-01T22:35:24.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-13T13:54:07.000Z (over 1 year ago)
- Last Synced: 2025-01-04T20:41:10.094Z (10 months ago)
- Topics: cloudflare-workers, honojs, prisma, react, tailwind, workers, zod
- Language: TypeScript
- Homepage: https://blog.shivamk.tech
- Size: 112 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intialization
## Backend
```
npm install
npx prisma migrate dev --name init_schema
npx prisma generate --no-engine
npm run dev
```
```
npm run deploy
```
#### ./.env
```
DATABASE_URL="prostgres connection string"
```
#### ./wrangler.toml
```
name = "backend"
compatibility_date = "2023-12-01"
[vars]
DATABASE_URL="prisma connection pool string"
JWT_SECRET="jwt secret key"
```
## frontend
```
npm install
npm run dev
```