Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-13T13:54:07.000Z (7 months ago)
- Last Synced: 2024-10-04T22:11:17.321Z (3 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 installnpx 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
```