Welcome to the GitHub repository for the Pixel Blog App! This repository contains the source code for a powerful blogging platform equipped with essential features like user authentication, post management, and content creation. It utilizes Appwrite as the backend service for managing the database and storage operations.
Pixel Blog is a full-fledged blog application built with React.js that offers the following features:
-
User Management:
-
Post Creation:
-
Post Listing:
-
Update Post:
-
Route Management:
- The application leverages react-router-dom for efficient routing between different sections.
- Specific routes handle authentication (login, logout), post creation, and post listing.
- Frontend: React.js
- Form Handling: React Hook Form
- Rich Text Editor: TinyMCE (or similar)
- State Management: Redux with react-redux
- Routing: react-router-dom
- Backend: Appwrite (for database, storage, and authentication)
- Live Demo: https://pixel-blog-puce.vercel.app/
- Repository: https://github.com/harshmann10/PixelBlog
- Clone the repository:
git clone https://github.com/harshmann10/PixelBlog.git
- Navigate to the project directory:
cd PixelBlog
- Install dependencies:
npm install
- Running the Development Server:
npm run dev
- Access the application in your browser at
http://localhost:5173
.
-
Create an Appwrite account and project at https://appwrite.io.
-
Obtain your project's endpoint URL, project ID, and API key.
-
Create a
.env
file at the project root and add the following environment variables, replacing placeholders with your actual values:VITE_APPWRITE_URL="" VITE_APPWRITE_PROJECT_ID="" VITE_APPWRITE_DATABASE_ID="" VITE_APPWRITE_COLLECTION_ID="" VITE_APPWRITE_BUCKET_ID="" VITE_TINY_EDITOR_API_KEY=""
These environment variables are used in src/config/config.js to configure the Appwrite services and TinyMCE.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
This project is licensed under the Apache License - see the LICENSE file for details.
- Consider adding unit tests and end-to-end tests for robust quality assurance.
- Explore deploying the application to a production environment using a service like Vercel or Netlify. The project includes a [vercel.json](g:\web dev\chai aur react\12PixelBlog\vercel.json) file for Vercel deployment configuration.
- Refer to the official documentation for React.js, React Hook Form, TinyMCE, Redux, react-redux, react-router-dom, and Appwrite for detailed usage and configuration guidance.
- This
README.md
provides a general overview. For a complete understanding, delve into the source code available in the GitHub repository.
The information provided here serves as a starting point for understanding the Pixel Blog app. While explanations are clear, it's recommended to explore the code itself for the most comprehensive grasp of implementation details.