Welcome to the GitHub repository for the BlogSphere 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.
BlogSphere is a full-fledged blog application built with React.js that offers the following features:
User Management:
Users can register for new accounts using a signup form with validation (powered by React Hook Form).
Existing users can log in securely using Appwrite for authentication.
Users can log out seamlessly, clearing authentication tokens.
Post Creation:
Authorized users can create new blog posts, crafting content with ease using a rich text editor (like TinyMCE).
Post data is stored securely in Appwrite's database.
Post Listing:
Update Post:
Users can update their existing post if the same user that is Logged in and have their own post.
User can also delete their own post.
Route Management:
Clone the repository: git clone https://github.com/adityamawa/Blog-Sphere
Navigate to the project directory: cd megablog
Install dependencies: npm install
Running the Development Server : npm run dev
Access the application in your browser at http://localhost:5173
(or the port specified in package.json).
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=""
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.
The information provided here serves as a starting point for understanding the BlogSphere app. While explanations are clear, it's recommended to explore the code itself for the most comprehensive grasp of implementation details.