| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A full-featured blogging platform built with React, Vite, and Appwrite — supporting rich-text authoring, user authentication, and complete post management.
| Layer | Technology |
|---|---|
| Frontend | React 18, React Router DOM v6 |
| Build Tool | Vite 4 |
| Styling | Tailwind CSS 3 |
| State | Redux Toolkit, React-Redux |
| Backend/BaaS | Appwrite (Auth, Database, Storage) |
| Rich Text | TinyMCE (@tinymce/tinymce-react) |
| Forms | React Hook Form |
| HTML Parsing | html-react-parser |
git clone https://github.com/Mohammad-Asfin/AppwriteBlog.git
cd AppwriteBlognpm installCopy the sample environment file and fill in your Appwrite credentials:
cp .env.sample .envThen open .env and set the values:
VITE_APPWRITE_URL="https://cloud.appwrite.io/v1"
VITE_APPWRITE_PROJECT_ID="your_project_id"
VITE_APPWRITE_DATABASE_ID="your_database_id"
VITE_APPWRITE_COLLECTION_ID="your_collection_id"
VITE_APPWRITE_BUCKET_ID="your_bucket_id"Tip: All environment variables must be prefixed with VITE_ to be exposed to the browser by Vite.
npm run devThe app will be available at http://localhost:5173.
src/ ├── appwrite/ # Appwrite service wrappers (auth, database, storage) ├── components/ # Reusable UI components │ ├── Header/ # Top navigation bar │ ├── Footer/ # Page footer │ ├── post-form/ # Create/Edit post form with TinyMCE │ ├── AuthLayout.jsx # Route guard for protected pages │ ├── Login.jsx # Login form component │ ├── Signup.jsx # Registration form component │ ├── PostCard.jsx # Blog post preview card │ ├── RTE.jsx # Rich Text Editor wrapper │ └── ... ├── conf/ # App-wide configuration (env vars) ├── pages/ # Route-level page components │ ├── Home.jsx │ ├── Login.jsx │ ├── Signup.jsx │ ├── AllPosts.jsx │ ├── AddPost.jsx │ ├── EditPost.jsx │ └── Post.jsx ├── store/ # Redux store & slices │ └── authSlice.js ├── App.jsx # Root component with routing layout └── main.jsx # App entry point & router config
| Command | Description |
|---|---|
| npm run dev | Start development server with HMR |
| npm run build | Build the app for production |
| npm run preview | Preview the production build locally |
| npm run lint | Run ESLint to check for code issues |
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is open-source and available under the MIT License.
| Back | FazBrowse Home | New Git URL |