Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.29 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.29 KB

Blog Application like Medium

Description

This project is a clone of the Medium blogging platform, which provides users with a platform to publish articles. Medium is known for its clean and intuitive user interface, making it easy for both writers and readers to navigate and interact with content.

Technologies Used

Frontend

  • React.js
  • Zod as the validation library, type inference for the frontend types
  • TypeScript

Backend

  • Cloudflare Workers
  • Prisma (with connection pooling)
  • JWT (JSON Web Tokens) for authentication

Database

  • PostgreSQL

Setup Instructions

  1. Clone the repository to your local machine.
  2. Navigate to the frontend directory and install frontend dependencies:
  • cd frontend
  • npm install
  1. Navigate to the backend directory and install backend dependencies:
  • cd ../backend
  • npm install
  1. Set up environment variables:
  • Create a .env file in the backend directory and define the required environment variables including database connection details, JWT secret, etc.
  1. Start the backend server:
  • npm run dev
  1. Start the frontend server:
  • cd ../frontend
  • npm run dev
  1. Access the application in your web browser.

Contributing

Contributions are welcome to enhance the features or fix any bugs in the Blog Application like Medium project.