Skip to content

ScribeSpace is a blogging website similar to Medium, built with React.js and TypeScript for a dynamic frontend. The backend is powered by Hono and Cloudflare Workers for serverless operations, with Hono handling routing and PostgreSQL managed through Prisma for data storage and management.

Notifications You must be signed in to change notification settings

chiraggowda92187/Scribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scribe Blog Platform

Scribe Space is a clone of the popular Medium app, built with modern web technologies for a seamless blogging experience.

Live Demo

Check out the live version: Scribe Space

Features

  • Backend: Cloudflare Workers, Hono, PostgreSQL, Prisma
  • Frontend: ReactJS, Tailwind-CSS
  • Deployment: Vercel

Table of Contents

Installation

Backend

  1. Clone the repository:

    git clone https://github.com/chiraggowda92187/Scribe.git
    cd Scribe/backend
  2. Set up environment variables: Create a .env file in the backend directory and add your PostgreSQL credentials.

    Example .env file:

    DATABASE_URL=postgresql://username:password@localhost:5432/database
  3. Run the development server:

    npm run dev

Frontend

  1. Navigate to the frontend directory:

    cd ../frontend
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the frontend directory if needed.

  4. Run the development server:

    npm run dev

Usage

Once both the backend and frontend servers are running, you can access the application in your web browser at http://localhost:3000.

API Endpoints

  • Get all posts: GET /api/posts
  • Get a single post: GET /api/posts/:id
  • Create a post: POST /api/posts
  • Update a post: PUT /api/posts/:id
  • Delete a post: DELETE /api/posts/:id

Frontend Pages

  • Home: Displays a list of all posts.
  • Post Detail: Displays a single post.
  • Create/Edit Post: Form to create or edit a post.

Contributing

Contributions are welcome! Please fork this repository and submit pull requests.

About

ScribeSpace is a blogging website similar to Medium, built with React.js and TypeScript for a dynamic frontend. The backend is powered by Hono and Cloudflare Workers for serverless operations, with Hono handling routing and PostgreSQL managed through Prisma for data storage and management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published