https://github.com/blackhatdevx/choco-blogo
Choco-Blogo is a visually appealing and feature-rich blog management platform. Designed with a user-friendly interface, it provides admins with powerful LLM tools to analyze blog posts and track their performance using insightful metrics like word counts, repetition analysis, and post scores.
https://github.com/blackhatdevx/choco-blogo
admin admin-dashboard backend blog blog-theme blogger database frontend fullstack javascript large-language-model large-language-models nextjs nextjs14 postgres postgresql project typescript
Last synced: 2 months ago
JSON representation
Choco-Blogo is a visually appealing and feature-rich blog management platform. Designed with a user-friendly interface, it provides admins with powerful LLM tools to analyze blog posts and track their performance using insightful metrics like word counts, repetition analysis, and post scores.
- Host: GitHub
- URL: https://github.com/blackhatdevx/choco-blogo
- Owner: BlackHatDevX
- Created: 2024-12-02T20:07:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-03T18:24:05.000Z (over 1 year ago)
- Last Synced: 2025-02-13T08:16:43.165Z (over 1 year ago)
- Topics: admin, admin-dashboard, backend, blog, blog-theme, blogger, database, frontend, fullstack, javascript, large-language-model, large-language-models, nextjs, nextjs14, postgres, postgresql, project, typescript
- Language: TypeScript
- Homepage: https://choco-blogo.vercel.app
- Size: 334 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Choco-Blogo 🍫✍️
Choco-Blogo is a visually appealing and feature-rich blog management platform. Designed with a user-friendly interface, it provides admins with powerful LLM tools to analyze blog posts and track their performance using insightful metrics like word counts, repetition analysis, and post scores.
## 🔗 Live Demo
# [Visit Choco-Blogo Live](https://choco-blogo.vercel.app/)
### Default Admin Credentials for testing purpose
| **Username** | **Password** |
| ----------------- | ------------ |
| `blogo@admin.com` | `blogoAdmin` |
---
## 🖼️ Screenshots




---
## 🚀 Features
- **Post Management**:
- Admins can view all blog posts.
- Blog posts are analyzed for word count, unique words, and repetitive content.
- **Post Analysis**:
- Automatic calculation of content score based on word usage and repetition.
- Visualization using a bar chart (powered by Chart.js).
- **Secure Admin Access**:
- Only admins can access the analysis dashboard after proper authentication.
- **Responsive Design**:
- Optimized for both desktop and mobile users.
---
## 🛠️ Tech Stack
### Frontend:
- **Next.js**: For server-side rendering and client-side interactivity.
- **React**: Component-based UI development.
- **Chart.js**: Interactive visualizations for blog analysis.
### Backend:
- **Next.js API Routes**: For handling backend logic and data analysis.
- **Prisma**: ORM for interacting with the PostgreSQL database.
- **PostgreSQL**: For efficient and scalable data storage.
### Styling:
- **Tailwind CSS**: For modern and responsive design.
---
## 📂 Project Structure
```
.
├── pages
│ ├── api
│ │ ├── analyze-posts.ts # API for analyzing blog posts
│ │ ├── check-session.ts # API for admin session validation
│ ├── analysis.tsx # Admin dashboard for analysis
│ ├── index.tsx # Homepage
├── prisma
│ ├── schema.prisma # Database schema
├── public # Static assets
├── styles # Global CSS styles
├── components # Reusable components
└── README.md # Project documentation
```
---
## 🔧 Setup & Installation
Follow these steps to run the project locally:
1. **Clone the Repository**:
```bash
git clone https://github.com/BlackHatDevX/choco-blogo.git
cd choco-blogo
```
2. **Install Dependencies**:
```bash
npm install
```
3. **Set Up Environment Variables**:
Create a `.env` file in the root directory and add:
```env
DATABASE_URL=postgres://your-db-user:your-db-password@your-db-host/your-db-name
```
4. **Set Up Prisma**:
Generate the Prisma client and apply migrations:
```bash
npx prisma generate
npx prisma migrate dev --name init
```
5. **Start the Development Server**:
```bash
npm run dev
```
Visit [http://localhost:3000](http://localhost:3000) to view the app.
---
## 🤝 Contributions
Contributions are welcome! To contribute:
1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Submit a pull request with a detailed description of your changes.
---
## 📝 License
This project is licensed under the MIT License. See the LICENSE file for details.
---
## 👤 Author
**Jash Gro**
GitHub: [BlackHatDevX](https://github.com/BlackHatDevX)
Portfolio: [bit.ly/jashgro](https://bit.ly/jashgro)
Feel free to reach out for any queries or suggestions!