Coder Social home page Coder Social logo

blog-app's Introduction

Blog Platform

This is a full-stack blog platform built with modern web technologies. The backend is deployed on Cloudflare Workers using Hono.js and Accelerator for database connection pooling, with Prisma as the ORM and PostgreSQL for the database. The frontend is developed using React and Vite, styled with Tailwind CSS. Zod is used for data validation across both backend and frontend, and Wrangler is utilized for managing Cloudflare Workers.

Table of Contents

Key Features

  • User Authentication: Sign up and login functionalities.
  • Blog Management: Users can create, read, update, and delete blogs.
  • Data Validation: Zod is used for data schema validation.
  • Styling: Tailwind CSS for utility-first CSS framework.
  • Deployment: Deployed on Cloudflare Workers for scalability.

Backend

The backend of this project is implemented using Cloudflare Workers and Hono.js, with PostgreSQL as the database. Here are some of the key technologies and libraries used:

  • Database: PostgreSQL
  • Framework: Hono.js for routing
  • Database Pooling: Accelerator for efficient database connection pooling
  • ORM: Prisma for database modeling and querying
  • Data Validation: Zod for data schema validation
  • Deployment Tool: Wrangler for managing Cloudflare Workers

Frontend

The frontend of the application is developed using React.js and Vite. It consists of multiple pages to facilitate different functionalities:

  • Pages:
    • Signup: User registration page
    • Login: User login page
    • Blogs: List all blogs
    • Blog Detail: View a specific blog by ID
    • Create Blog: Create a new blog
    • Landing Page: Main landing page

Frontend Libraries and Tools

  • JavaScript Framework: React.js
  • Build Tool: Vite for fast builds and hot module replacement
  • Styling: Tailwind CSS for utility-first CSS framework
  • Data Validation: Zod for consistent data validation across frontend and backend

API Endpoints

  • POST /signup - User signup
  • POST /login - User login
  • GET /blogs - Get all blogs
  • GET /blog/:id - Get a specific blog by ID
  • POST /blogs - Create a new blog
  • DELETE /blog/:id - Delete a blog
  • GET / - Landing page

Live Link

https://rxhxul-blog-app.vercel.app/

blog-app's People

Contributors

w-rahul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.