{"id":15723425,"url":"https://github.com/yhimanshu22/justwrite","last_synced_at":"2025-05-07T22:28:57.434Z","repository":{"id":247153158,"uuid":"825141134","full_name":"yhimanshu22/justwrite","owner":"yhimanshu22","description":"It's a blog website using prisma cloudflare workers and hono","archived":false,"fork":false,"pushed_at":"2025-03-01T21:04:27.000Z","size":243,"stargazers_count":2,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T14:58:05.072Z","etag":null,"topics":["cloudflare","cloudflare-workers","hono","javascript","monorepo","prisma","prismaaccelerate","serverless","typescript","zod-validation"],"latest_commit_sha":null,"homepage":"https://justwrite-f8o6qtdyw-yhimanshu220456.vercel.app/signin","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yhimanshu22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-06T22:48:07.000Z","updated_at":"2024-11-29T05:04:55.000Z","dependencies_parsed_at":"2024-07-19T22:36:23.471Z","dependency_job_id":"59b066d2-8648-4dfc-91c7-efe49a8d3630","html_url":"https://github.com/yhimanshu22/justwrite","commit_stats":null,"previous_names":["yhimanshu22/justwrite.com"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhimanshu22%2Fjustwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhimanshu22%2Fjustwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhimanshu22%2Fjustwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhimanshu22%2Fjustwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhimanshu22","download_url":"https://codeload.github.com/yhimanshu22/justwrite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252964331,"owners_count":21832667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","cloudflare-workers","hono","javascript","monorepo","prisma","prismaaccelerate","serverless","typescript","zod-validation"],"created_at":"2024-10-03T22:11:36.188Z","updated_at":"2025-05-07T22:28:57.409Z","avatar_url":"https://github.com/yhimanshu22.png","language":"TypeScript","readme":"\n   \n## Backend\n\nCheck the app: [JustWrite](https://justwrite-yhimanshu220456.vercel.app/signup)\n\n### What to do in the Future\n\n1. Logout route\n2. Dashboard Implementation\n3. Authentication using Google\n4. Search Functionality\n5. Integrate AI for writing blogs\n\n### Database Setup\n\n- Hosting: The backend database is hosted on [Render](https://render.com/). Initially attempted with Avian but encountered migration errors with Prisma.\n\n### Prisma Accelerate\n\n- Connection Pooling: Utilizing Prisma Accelerate for optimized database connection pooling.\n\n### Configuration\n\n- Database URLs:\n  - Prisma Accelerate URL: Configure in `wrangler.toml`.\n    ```toml\n    # wrangler.toml\n    prisma_accelerate_url = \"\u003cyour_prisma_accelerate_url\u003e\"\n    ```\n  - Render URL: Store in `.env` file for local and deployment configurations.\n    ```dotenv\n    # .env\n    DATABASE_URL=\"\u003cyour_render_database_url\u003e\"\n    ```\n\n### Deployment Steps\n\n1. Database Migration: Use `prisma migrate` for managing schema migrations after any schema changes.\n   \n   ```bash\n   npx prisma migrate dev --name initial\n2. sma Client Generation:\n   \n   ```bash\n   npx prisma generate --no-engine\n\n3. Deploy to cloudflare: Use `prisma migrate` for managing schema migrations after any schema changes.\n   \n   ```bash\n   npm run deploy\n\nWhat Features I Added:  \n1.Logo Font: Updated for a new look.  \n2.Dark Theme: Switched from white to dark mode.  \n3.Gemini API: Integrated for blog generation.  \n4.Toast Notifications: Added for user feedback.  \n5.Logout Functionality: Implemented for secure session exit.  \n6.FullBlog Enhancements:  \n   1.Added dropdown menu on the left.  \n   2.Included Top Picks, Recommended Blogs, and a Reading List on the right.   \n7. Added delete functionality  \n8.    \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhimanshu22%2Fjustwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhimanshu22%2Fjustwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhimanshu22%2Fjustwrite/lists"}