A modern blog application built with React and Vite for the frontend, Tailwind CSS for styling, and TinyMCE for rich text editing. The app leverages Appwrite as a backend-as-a-service (BaaS) for handling authentication, database operations, and file management.
Before running this application locally, ensure you have the following installed:
git clone https://github.com/pavansingh888/BlogSphere-project.git
cd BlogSphere-project
Install the required Node.js dependencies using npm or yarn:
# Using npm
npm install
# Or using yarn
yarn install
Create a .env
file in the project root and add the following configuration:
VITE_APPWRITE_PROJECT_ID=<your-appwrite-project-id>
VITE_APPWRITE_URL=<your-appwrite-url>
VITE_APPWRITE_DATABASE_ID=<your-appwrite-db-id>
VITE_APPWRITE_COLLECTION_ID=<your-appwrite-collection-id>
VITE_APPWRITE_BUCKET_ID=<your-appwrite-bucket-id>
VITE_RTE_APIKEY=<your-RTE-api-key>
Run the following command to start the application:
npm run dev
The app will be available at http://localhost:5173.
npm run dev
: Start the development server.npm run build
: Build the app for production.npm run preview
: Preview the production build locally.To deploy the application, build the production version and host it on any static site hosting service like Vercel, Netlify, or Firebase Hosting.
npm run build
Contributions are welcome! Feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License.