https://github.com/rikon07/the-dailycommit
A modern, fullstack Computer Science news platform for developers, by developers.
https://github.com/rikon07/the-dailycommit
admin-dashboard firebase javascript jwt react stripe-payments tailwindcss
Last synced: about 2 months ago
JSON representation
A modern, fullstack Computer Science news platform for developers, by developers.
- Host: GitHub
- URL: https://github.com/rikon07/the-dailycommit
- Owner: Rikon07
- Created: 2025-08-07T19:15:50.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-11-15T18:39:05.000Z (8 months ago)
- Last Synced: 2025-11-15T20:22:19.306Z (8 months ago)
- Topics: admin-dashboard, firebase, javascript, jwt, react, stripe-payments, tailwindcss
- Language: JavaScript
- Homepage: https://the-daily-commit-c5e84.web.app/
- Size: 734 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π° The Daily Commit
A modern, fullstack Computer Science news platform for developers, by developers.
Built with React, Tailwind CSS, Express, MongoDB, Firebase Auth, Stripe, and more.
---
[](https://react.dev/)
[](https://tailwindcss.com/)
[](https://firebase.google.com/)
[](https://vitejs.dev/)
[](https://the-daily-commit-c5e84.web.app/)
[](https://opensource.org/licenses/MIT)
---
## π Live Site
[https://the-daily-commit-c5e84.web.app/](https://the-daily-commit-c5e84.web.app/)
---
## π€ Admin Login
- **Username:** `rik.shelby@gmail.com`
- **Password:** `@Shelby12345`
---
## β¨ Features
- π **JWT Auth with Firebase** (localStorage, no cookies)
- π° **Trending Articles** slider (by views)
- π·οΈ **Filter & Search** by publisher, tags, and title
- π **Premium Plan:** Unlimited posts, premium articles, priority review
- π **Normal Plan:** 1 post limit, access to all approved articles
- π **Statistics:** User and article analytics with animated counters
- π **Tech News Map:** Interactive map of news locations in Bangladesh
- π
**Top Contributors:** Most active writers highlighted
- π’ **All Publishers:** Marquee slider of publisher logos
- π **Admin Dashboard:** User management, article approval, publisher management, charts
- π³ **Stripe Payments:** Secure premium subscription
- π§βπ» **Profile Management:** Update name, photo, and more
- π‘οΈ **Role-based Access:** Admin, premium, and normal user flows
- π± **Fully Responsive:** Mobile, tablet, and desktop
- π¨ **Dark/Light Mode:** Theme toggle everywhere
- π¦ **GSAP Animations:** Playful, professional UI transitions
---
## π₯ More
- π Secure Firebase Authentication (Email/Pass + Google)
- π Fully Responsive Layout
- π¬ SweetAlert2 Feedback for User Actions
- ποΈ Carousel + Animated Banner Section
- π Light & Dark Mode Support
- π Protected Routes
- π§ Scroll-based Navbar Transparency
- π Rating Stars, Skeleton Loaders & Tooltips
- β‘ Fast loading with Vite + Lazy loading
---
## π§ Tech Stack
| Layer | Tech Used |
|--------------|-----------|
| **Frontend** | React, React Router, Tailwind CSS |
| **Backend** | Express.js, MongoDB, Firebase Admin, Stripe, CORS |
| **Auth** | Firebase Authentication |
| **Hosing** | Firebase Hosting, Backend on Vercel |
| **Packages** | Framer Motion, Swiper, React Query, React Leaflet, React Select, React Loading Skeleton, SweetAlert2, Stripe.js |
---
## Folder Structure
βββ public
βββ vite.svg
βββ src
βββ App.css
βββ App.jsx
βββ Components
β βββ Dashboard Components
β β βββ DashboardNavbar.jsx
β β βββ DashboardSidebar.jsx
β β βββ Pagination.jsx
β βββ Extra Components
β β βββ Error.jsx
β β βββ GlowingCard.jsx
β β βββ Loader.jsx
β β βββ Pagination.jsx
β β βββ SubscriptionWrapper.jsx
β β βββ ThemeToggle.jsx
β βββ Home Components
β β βββ AllPublisher.jsx
β β βββ Banner.jsx
β β βββ BentoFeatures.jsx
β β βββ ContactUs.jsx
β β βββ Faq.jsx
β β βββ Features.jsx
β β βββ Footer.jsx
β β βββ HomeModal.jsx
β β βββ Navbar.jsx
β β βββ Plans.jsx
β β βββ ResourceLibrary.jsx
β β βββ Statistics.jsx
β β βββ TechNewsMap.jsx
β β βββ TopContributors.jsx
β β βββ TrendingArticles.jsx
βββ Firebase
β βββ firebase.config.js
βββ Hooks
β βββ Axios.jsx
β βββ UseAuth.jsx
β βββ useAdmin.jsx
β βββ useAxiosSecure.jsx
βββ Layouts
β βββ AuthLayout.jsx
β βββ Dashboard.jsx
β βββ MainLayout.jsx
βββ Pages
β βββ Authentication Pages
β β βββ Login.jsx
β β βββ Profile.jsx
β β βββ Register.jsx
β βββ Dashboard Pages
β β βββ AddPublisher.jsx
β β βββ AllArticles.jsx
β β βββ AllUsers.jsx
β β βββ DashboardHome.jsx
β βββ Home pages
β β βββ AddArticles.jsx
β β βββ AllArticle.jsx
β β βββ ArticleDetails.jsx
β β βββ Home.jsx
β β βββ MyArticles.jsx
β β βββ PremiumArticles.jsx
β β βββ Subscription.jsx
β β βββ UpdateArticle.jsx
βββ Providers
β βββ AdminRoute.jsx
β βββ AuthProvider.jsx
β βββ Contexts.jsx
β βββ Private.jsx
βββ Routes
β βββ Routes.jsx
βββ assets
β βββ Animations
β β βββ Animation - Error.json
β βββ DC_logo.png
β βββ Font
β β βββ EireneSans-Regular.otf
β β βββ SFPRODISPLAYREGULAR.OTF
β β βββ ciguatera.otf
β βββ react.svg
βββ index.css
βββ main.jsx
βββindex.html
βββ package.json
βββ tailwind.config.js
βββ vite.config.js
βββ .firebase
βββ hosting.ZGlzdA.cache
βββ .firebaserc
βββ .gitignore
βββ README.md
βββ eslint.config.js
βββ firebase.json