Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shivam29k/medium-blog

This is a Simple Blogging Application similar to medium, backend is in hono and deployed on cloudflare workers and frontend is in react.
https://github.com/shivam29k/medium-blog

cloudflare-workers honojs prisma react tailwind workers zod

Last synced: about 2 months ago
JSON representation

This is a Simple Blogging Application similar to medium, backend is in hono and deployed on cloudflare workers and frontend is in react.

Awesome Lists containing this project

README

        

# Intialization

## Backend

```
npm install

npx prisma migrate dev --name init_schema

npx prisma generate --no-engine

npm run dev
```

```
npm run deploy
```

#### ./.env
```
DATABASE_URL="prostgres connection string"
```

#### ./wrangler.toml
```
name = "backend"
compatibility_date = "2023-12-01"

[vars]

DATABASE_URL="prisma connection pool string"
JWT_SECRET="jwt secret key"
```

## frontend

```
npm install
npm run dev
```