Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yhimanshu22/justwrite
It's a blog website using prisma cloudflare workers and hono
https://github.com/yhimanshu22/justwrite
cloudflare cloudflare-workers hono javascript monorepo prisma prismaaccelerate serverless typescript zod-validation
Last synced: 18 days ago
JSON representation
It's a blog website using prisma cloudflare workers and hono
- Host: GitHub
- URL: https://github.com/yhimanshu22/justwrite
- Owner: yhimanshu22
- Created: 2024-07-06T22:48:07.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T21:09:07.000Z (4 months ago)
- Last Synced: 2024-10-25T10:37:24.285Z (26 days ago)
- Topics: cloudflare, cloudflare-workers, hono, javascript, monorepo, prisma, prismaaccelerate, serverless, typescript, zod-validation
- Language: TypeScript
- Homepage: https://justwrite-yhimanshu220456.vercel.app/
- Size: 109 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## BackendCheck the app: [JustWrite](https://justwrite-m2b91t5fl-yhimanshu220456.vercel.app/signup)
### What to do in the Future
1. Logout route
2. Dashboard Implementation
3. Authentication using Google
4. Search Functionality
5. Integrate AI for writing blogs### Database Setup
- Hosting: The backend database is hosted on [Render](https://render.com/). Initially attempted with Avian but encountered migration errors with Prisma.
### Prisma Accelerate
- Connection Pooling: Utilizing Prisma Accelerate for optimized database connection pooling.
### Configuration
- Database URLs:
- Prisma Accelerate URL: Configure in `wrangler.toml`.
```toml
# wrangler.toml
prisma_accelerate_url = ""
```
- Render URL: Store in `.env` file for local and deployment configurations.
```dotenv
# .env
DATABASE_URL=""
```### Deployment Steps
1. Database Migration: Use `prisma migrate` for managing schema migrations after any schema changes.
```bash
npx prisma migrate dev --name initial
2. sma Client Generation:
```bash
npx prisma generate --no-engine3. Deploy to cloudflare: Use `prisma migrate` for managing schema migrations after any schema changes.
```bash
npm run deployWhat Features I Added:
1.Logo Font: Updated for a new look.
2.Dark Theme: Switched from white to dark mode.
3.Gemini API: Integrated for blog generation.
4.Toast Notifications: Added for user feedback.
5.Logout Functionality: Implemented for secure session exit.
6.FullBlog Enhancements:
1.Added dropdown menu on the left.
2.Included Top Picks, Recommended Blogs, and a Reading List on the right.
7. Added delete functionality
8.