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.
- User can login/register
- User can view the blog
- User can like/unlike the blog
- User can publish their own blog
- React.js
- Hono.js
- PostgreSQL(NeonDB)
- Cloudinary
- TailWindCSS
-
Clone the repository and navigate to the directory:
git clone https://github.com/krishna102001/indblog.git
-
In terminal run the command:
cd frontend npm i
-
Create a
.env
files in root directory and add the following environment variables:VITE_BACKEND_URL=
-
Start the frontend server:
npm run dev
The frontend server should now be running on
http://localhost:5173
.
-
In terminal run the command:
cd backend npm i
-
Create a
.env
files in root directory and add the following environment variables:DATABASE_URL=
-
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": ```
-
Start the backend server:
npm run dev
The backend server should now be running on
http://localhost:*****
.