https://github.com/harrykamboj1/medium
Will be added soon
https://github.com/harrykamboj1/medium
Last synced: 3 months ago
JSON representation
Will be added soon
- Host: GitHub
- URL: https://github.com/harrykamboj1/medium
- Owner: harrykamboj1
- Created: 2024-03-12T02:11:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-25T13:31:58.000Z (about 1 year ago)
- Last Synced: 2025-01-21T05:27:07.227Z (5 months ago)
- Language: TypeScript
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
3. Navigate to the `backend` directory and install backend dependencies:
- cd ../backend
- npm install
4. 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.
5. Start the backend server:
- npm run dev
6. Start the frontend server:
- cd ../frontend
- npm run dev7. 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.