This project is a full-stack application inspired by the Medium website. It allows users to create, read, update, and delete blog posts, with interactive features like comments and likes. The project is built using a modern tech stack that ensures scalability, performance, and type safety.
- User Authentication: Secure sign-up, login, and session management using JWT.
- Blog Post Management: Users can create, edit, and delete their blog posts.
- Comments and Likes: Users can comment on and like posts.
- Responsive Design: Mobile-friendly and accessible user interface.
- Data Validation: Robust client and server-side validation using Zod.
- Type Safety: Comprehensive type safety across the project with TypeScript.
- ORM with Connection Pooling: Prisma ORM configured with connection pooling for optimized database performance.
- Serverless Backend: Cloudflare Workers for scalable backend functions.
- Database: PostgreSQL used as the main database.
- React: Component-based architecture for building UI.
- TypeScript: Ensures type safety and helps catch errors early during development.
- Zod: Used for validation and type inference.
- Cloudflare Workers: Serverless framework for backend logic.
- Prisma: Modern ORM for database interaction with support for connection pooling.
- PostgreSQL: Relational database for storing user and blog data.
- JWT: JSON Web Token for secure authentication.