https://github.com/jenil-desai/inkwell
A full-stack Inkwell built with React, Cloudflare Workers, and TypeScript, featuring JWT authentication, Prisma ORM, and PostgreSQL for a robust content publishing platform.
https://github.com/jenil-desai/inkwell
cloudflare-workers hono jwt postgresql prisma-accelerate prisma-orm tailwindcss typescript zod
Last synced: about 2 months ago
JSON representation
A full-stack Inkwell built with React, Cloudflare Workers, and TypeScript, featuring JWT authentication, Prisma ORM, and PostgreSQL for a robust content publishing platform.
- Host: GitHub
- URL: https://github.com/jenil-desai/inkwell
- Owner: Jenil-Desai
- Created: 2024-09-12T08:30:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-04T13:40:56.000Z (3 months ago)
- Last Synced: 2025-03-31T00:17:27.891Z (about 2 months ago)
- Topics: cloudflare-workers, hono, jwt, postgresql, prisma-accelerate, prisma-orm, tailwindcss, typescript, zod
- Language: TypeScript
- Homepage: https://inkwell-jenil-desai.vercel.app
- Size: 346 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📝 Inkwell
A fully functional **Medium-like platform** built using modern web technologies. This project focuses on providing a rich, interactive experience for users to create and share content, following the same core principles as Medium.
---
## 📑 Table of Contents
1. [Overview](#-overview)
2. [Technologies](#-technologies)
3. [Packages & Libraries Used](#-packages--libraries-used)
4. [Getting Started](#-getting-started)
5. [Setup](#-setup)
6. [Features](#-features)
7. [Demo & Screenshots](#-demo--screenshots)
8. [Acknowledgments](#-acknowledgments)
9. [License](#-license)---
## 🌟 Overview
A modern web application inspired by **Medium**, allowing users to create, share, and interact with content. This project incorporates user authentication, rich text editing, and a sleek UI, making it a robust and scalable platform.
---
## 💻 Technologies
Below is a breakdown of the core technologies used in this project.
| 🌐 Web Framework | Backend | Database | Language |
| ---------------- | --------------------- | ---------------- | -------------- |
| **React.js** | **Cloudflare Worker** | **Postgres SQL** | **TypeScript** |---
## 📦 Packages / Libraries Used
This project uses the following essential libraries and packages:
| Package / Library | Purpose |
| -------------------- | ------------------------- |
| `Hono` | Lightweight web framework |
| `Prisma ORM` | Database ORM |
| `Prisma Accelerates` | Optimized Prisma Pooling |
| `Axios` | API requests |
| `React-Router-Dom` | Frontend routing |
| `Tailwind CSS` | Styling framework |
| `zod` | Schema validation |---
## 🚀 Getting Started
Follow these steps to set up the project in your local environment:
1. Clone the repository:
```bash
git clone https://github.com/Jenil-Desai/inkwell.git
```
2. Install dependencies:
```bash
cd common
npm install
cd ../backend
npm install
cd ../frontend
npm install
```
3. Configure Envirmental Variables by creating `.env` and add :
```env
DATABASE_URL="Your Postgres Database Direct URL"
```
4. Add Other ENVs into `backend/wrangler.toml` as :
```toml
[vars]
DATABASE_URL="Your Prisma Accelrated URL"
JWT_SECRET="Unique JWT Secret"
```---
## ⚙️ Setup
1. Start the project backend:
```bash
cd backend
npm run dev
```
2. Start the project frontend:
```bash
cd frontend
npm run dev
```
3. Access the application at `localhost:5173` and explore the website.---
## 🎯 Features
Explore the unique features available in this application:
1. 🔐 **User Authentication with JWT**:
- Secure login and signup process using JSON Web Tokens.
2. ✍️ **Create and Read Articles**:
- Rich functionality for users to create articles and read published ones.
3. 📝 **Rich Text Editing**:
- Intuitive text editor for drafting articles.---
## 🔗 Demo & Screenshots
- [Demo](https://medium-clone-two-pi.vercel.app/)
---
## 🙏 Acknowledgments
We’d like to thank the following resources:
- **[Harkirat 100xDevs Course](https://100xdevs.com/)** - Backend development.
- **[Hono Docs](https://hono.dev/docs)** - Framework documentation.
- **[Cloudflare Workers Docs](https://developers.cloudflare.com/workers/)** - Serverless platform documentation.---
## 📜 License
This project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for details.
---
### Enjoy exploring and contributing to the Inkwell!