This project is a clone of Medium, a platform for publishing articles and engaging with readers. It leverages modern technologies such as React.js for the frontend, Cloudflare Workers for the backend, and various other tools and libraries to create a seamless user experience.
Check out the website here.
- React.js – For building the user interface.
- TypeScript – Enhances code quality and type safety.
- Zod – For data validation.
- Cloudflare Workers – Ensures low latency and high performance globally.
- JWT (JSON Web Tokens) – Secure user authentication.
- PostgreSQL – Reliable and scalable database.
- Prisma – ORM tool for efficient database interaction.
✅ User Authentication – Secure authentication using JWT tokens.
✅ Article Management – Publish and edit articles with Markdown support.
✅ User Profiles – View and manage user profiles, including authored articles.
✅ Blogging Experience – Write and publish blogs in Markdown format.
✅ Social Interaction – View and explore other users' profiles.
✅ Publish Control – Articles can only be published when ready.
Follow these steps to set up the project locally:
git clone https://github.com/pavannitheesh/medium-fe
cd medium-fenpm install- Set up PostgreSQL on your machine or use a cloud provider.
- Update the connection settings in the Prisma configuration file (
.env).
npx prisma migrate devnpm run dev