Skip to content

krishna102001/indblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IND BLOG

Overview

IND BLOG is online blog platform where user can post their thought and share research paper. To Build IND BLOG we have used React.js for Frontend, Hono.js for Serverless Backend, NeonDB for Database.

Features

  • User can login/register
  • User can view the blog
  • User can like/unlike the blog
  • User can publish their own blog

Technology Used

  • React.js
  • Hono.js
  • PostgreSQL(NeonDB)
  • Cloudinary
  • TailWindCSS

Getting Started

  1. Clone the repository and navigate to the directory:

    git clone https://github.com/krishna102001/indblog.git

Frontend

  1. In terminal run the command:

    cd frontend
    npm i
  2. Create a .env files in root directory and add the following environment variables:

    VITE_BACKEND_URL=
  3. Start the frontend server:

    npm run dev

    The frontend server should now be running on http://localhost:5173.

Backend

  1. In terminal run the command:

    cd backend
    npm i
  2. Create a .env files in root directory and add the following environment variables:

     DATABASE_URL=
  3. Put your Secret also in wrangler.jsonc file.

    "DATABASE_URL":"primsa accelerate pooling link should"
    "JWT_SECRET":
    "CLOUDINARY_API_KEY":
    "CLOUDINARY_API_SECRET":
    "CLOUDINARY_CLOUD_NAME":
     ```
    
  4. Start the backend server:

    npm run dev

    The backend server should now be running on http://localhost:*****.

About

IndBlog is blogging platform which was created on a serverless backend architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published