Git Product home page Git Product logo

blogify's Introduction

Blogify - Secure User-Authenticated Blog Application

Blogify is a robust blog application featuring secure user authentication, user and tag following functionalities, and integration with AWS S3 for image posting, retrieval, and deletion. It is deployed on Cloudflare Workers with a PostgreSQL database utilizing connection pooling.

Features:

  1. User Authentication:

    • Secure authentication system for users to sign up, log in, and log out.
    • Passwords are securely hashed and stored.
  2. User-Authenticated Blogging:

    • Authenticated users can create, edit, and delete their blog posts.
    • Users have their own personalized dashboard for managing their posts.
  3. User and Tag Following:

    • Users can follow other users to receive updates on their posts.
    • Users can also follow specific tags to see posts related to those tags in their feed.
  4. AWS S3 Integration:

    • Integration with AWS S3 enables users to upload images for their blog posts.
    • Images are securely stored and can be retrieved and deleted as needed.
  5. Cloudflare Workers Deployment:

    • Deployed on Cloudflare Workers for scalability, reliability, and global distribution.
    • Utilizes Cloudflare's edge network for fast response times.
  6. PostgreSQL Database with Connection Pooling:

    • Utilizes PostgreSQL database for data storage.
    • Connection pooling optimizes database connections for improved performance.

Folder Structure:

  1. Frontend:

    • Contains the frontend codebase built with modern JavaScript frameworks like React.js or Vue.js.
    • Responsible for the user interface and interaction with the backend.
  2. Cloudflare Backend:

    • Houses the backend logic implemented using Cloudflare Workers.
    • Handles user authentication, blog post management, user interactions, and integration with AWS S3.
  3. Common:

    • Contains shared code and types used across both frontend and backend.
    • Includes Zod validation schemas for ensuring data integrity and consistency.
  4. Image Upload Service:

    • Manages the image upload functionality, integrating with AWS S3 for storing and retrieving images.
    • Ensures secure handling of image files and provides endpoints for frontend integration.

Setup Instructions:

  1. Clone the repository.
  2. Set up AWS S3 bucket for image storage and obtain necessary credentials.
  3. Configure Cloudflare Workers with your account and obtain API tokens.
  4. Set up a PostgreSQL database and configure connection pooling settings.
  5. Install dependencies for frontend and backend.
  6. Configure environment variables for AWS S3, Cloudflare Workers, and PostgreSQL database.
  7. Run the frontend and backend servers.
  8. Access the application through the provided URL.

Contributors:

aarindey

img_integration feed Blog Author Topic SignIn SignUp publish

blogify's People

Contributors

aarindey avatar

Stargazers

 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.