Documentation Hub is a dynamic, MongoDB-powered documentation platform that empowers you to create, manage, and share technical docs and code snippets with clarity and ease. Built for collaboration, bDoci helps you organize ideas, inspire innovation, and streamline your documentation workflow.
- 🌟 Elegant web interface for browsing and searching documentation
- 📝 Create, edit, and manage docs with code snippets (admin access)
- 🔍 Powerful search and filtering for quick access
- 🌗 Light/Dark theme toggle for comfortable reading
- 🗂️ Code highlighting and easy copy-to-clipboard
- 🛡️ Admin authentication for secure doc creation
- 📦 RESTful endpoints for health checks and status
- 🚀 Ready for deployment on Vercel or any Node.js environment
- Node.js 18.x
- MongoDB database (local or cloud)
- npm
-
Clone the repository:
git clone https://github.com/Bimbok/documentationHub.git cd documentationHub -
Install dependencies:
npm install
-
Configure environment variables:
- Create a
.envfile in the root directory:MONGODB_URI=your_mongodb_connection_string ADMIN_USERNAME=your_admin_username ADMIN_PASSWORD=your_admin_password NODE_ENV=development
- Create a
-
Run the app:
npm start
The app will be available at
http://localhost:3000.
- Visit
/adminto log in and create new documentation. - Use the credentials set in your
.envfile.
bDoci is ready for Vercel deployment. See vercel.json for configuration.
To deploy elsewhere, ensure your environment variables are set and run with Node.js.
app.js– Main server and routesviews/– EJS templates for UIpublic/– Static assets (logo, CSS, etc.)package.json– Dependencies and scripts
ISC
Craft, share, and inspire with bDoci – your launchpad for organized, collaborative documentation!