A modern full-stack blogging platform built with React, TypeScript, and Cloudflare Workers.
.
├── frontend/ # React frontend application
├── backend/ # Cloudflare Workers backend
└── common/ # Shared TypeScript types and validations
- React 19 with TypeScript
- Vite for build tooling
- TailwindCSS for styling
- TipTap for rich text editing
- React Router for navigation
- Axios for API requests
- Cloudflare Workers
- Hono framework
- Prisma with PostgreSQL
- JWT for authentication
- Zod for validation
- Shared TypeScript types
- Node.js 18+
- npm or yarn
- Cloudflare account (for backend deployment)
- Install frontend dependencies:
cd frontend
npm install- Install backend dependencies:
cd backend
npm install- Install common package dependencies:
cd common
npm install- Start frontend development server:
cd frontend
npm run dev- Start backend development server:
cd backend
npm run dev- Build frontend:
cd frontend
npm run build- Deploy backend to Cloudflare Workers:
cd backend
npm run deploy- User authentication (signup/signin)
- Rich text blog editor with formatting options
- Blog post creation and viewing
- Responsive design
- Real-time content updates
- SEO-friendly content structure
VITE_BACKEND_URL=http://localhost:8787
DATABASE_URL=your_prisma_database_url
JWT_SECRET=your_jwt_secret
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details