This project is a blogging platform like Medium, built with React, Tailwind CSS, Hono for serverless backend, TypeScript, a custom npm package, Prisma as the ORM, PostgreSQL as the database, and acclerate
for connection pooling.
- React Frontend: Utilizes React for building a dynamic and responsive user interface.
- Tailwind CSS: Provides utility-first styling for rapid UI development and easy customization.
- Hono Serverless Backend: Offers scalable backend services, reducing the overhead of server management.
- TypeScript: Enhances code quality and maintainability with static typing.
- Custom npm Package: Includes custom functionalities packaged for ease of use and reusability.
- Prisma ORM: Simplifies database interactions and ensures type safety.
- PostgreSQL Database: Reliable and feature-rich database management system for data storage.
- acclerate for Connection Pooling: Manages database connections efficiently to improve performance and scalability.
The project is hosted on Vercel. You can access it here.
- Node.js
- npm or Yarn
- PostgreSQL database
- Clone the repository:
git clone https://github.com/your-username/medium-clone.git
- Run npm install for both backend and frontend
cd backend npm install
-
cd ../frontend npm install
- Create a database and configure the connection in the .env file.
- Add your acelerate url to wrangler.toml
- Add JWT_SECRET
- npx prisma migrate dev
- npm run dev
Contributions are welcome! Feel free to open an issue or submit a pull request for new features, bug fixes, or improvements.