DigiDiary is a modern and responsive blog platform built with Vite and React. This project allows users to view, create, and manage blog posts with a sleek and user-friendly interface.
- Dynamic Blog Display: Automatically fetch and display blog posts with a clean card layout.
- Add New Blog Posts: Easily add new blog entries with images and content.
- Commenting System: Enable readers to leave comments on blog posts.
- Search Functionality: Implemented search to find blog posts quickly.
- Responsive Design: Fully optimized for all devices, from desktops to mobile phones.
- Vite: A fast build tool for modern web projects.
- React: A JavaScript library for building user interfaces.
- Tailwind CSS: A utility-first CSS framework for custom styling.
- GitHub Pages: For hosting the deployed application.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Prateek5525/DigiDiary.git
-
Navigate to the project directory:
cd DigiDiary
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser and go to
http://localhost:3000
to see the application.
To deploy the project to GitHub Pages:
-
Build the project:
npm run build
-
Deploy to GitHub Pages:
npm run deploy
The application will be available at
https://Prateek5525.github.io/DigiDiary
.
Feel free to fork this repository and make pull requests. For any issues or suggestions, please open an issue on GitHub.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh