business
191 file ยท 274.7 MB
README
๐ Nexus Business
The Executive Business Knowledge Base
Curated frameworks, actionable playbooks, and battle-tested strategies to build, scale, and optimize world-class companies.
</div>๐ Overview
Nexus Business is a premium, open-source knowledge base platform built for entrepreneurs, managers, and executives. It acts as a single centralized repository to document, explore, and compress world-class business insights across 10 core domains.
The platform is designed with a highly scalable architecture, utilizing a robust tech stack to handle everything from personal reading progress to complex knowledge graphs connecting different business concepts.
๐ ๏ธ Tech Stack
This repository follows modern, enterprise-grade engineering standards:
- Framework: Next.js 16.1.6 (App Router, React 19, Turbopack)
- Styling: Tailwind CSS v4 & Framer Motion (Premium Animations)
- UI Components: shadcn/ui & Radix UI
- Database: Neon Postgres (Serverless)
- ORM: Drizzle ORM
- Authentication: Auth.js v5 (NextAuth beta)
- Content Engine: MDX via
next-mdx-remote - Testing: Vitest & React Testing Library
๐ Information Architecture
The content is organized into 10 fundamental business domains, designed to provide a 360-degree view of company building:
- Startup & Entrepreneurship ๐
- Strategy & Management ๐ฏ
- Marketing & Growth ๐
- Finance & Investment ๐ฐ
- Operations & Execution โ๏ธ
- Product Management ๐ฏ
- Sales & Business Development ๐ค
- Digital Business & Tech ๐ป
- Leadership & People ๐ฅ
- Indonesian Business Context ๐ฎ๐ฉ
Each domain contains various structured Content Types (e.g., Frameworks, Playbooks, Case Studies, Mental Models, Metrics).
โก Getting Started
1. Prerequisites
Ensure you have Node.js 20+ installed.
2. Install Dependencies
npm install
3. Environment Setup
Copy the example environment variables and fill them in:
cp .env.example .env.local
You will need:
- A Neon Postgres Database URL (
DATABASE_URLandDIRECT_URL) - A GitHub OAuth App for Authentication (
AUTH_GITHUB_IDandAUTH_GITHUB_SECRET) - An arbitrary
AUTH_SECRETstring (generate vianpx auth secret)
4. Database Setup
Push the Drizzle Schema to your Neon database:
npm run db:push
# or run migrations:
npm run db:generate
npm run db:migrate
5. Run the Development Server
npm run dev
The app will be running smoothly on http://localhost:3000.
๐งช Testing
The repository is fully configured with Vitest.
# Run all tests
npm run test
# Run tests in watch mode
npm run test -- --watch
๐ CI/CD
We use GitHub Actions to guarantee code quality. The pipeline automatically runs:
- Type checking (
tsc) - Linting (
eslint) - Unit Tests (
vitest) - Production Build Verification (
next build)
On every pull request to or push against the main branch.
๐ License
This knowledge base system is licensed under the MIT License.
File Utama
- .env.example
- .gitignore
- .prettierrc
- DEPLOYMENT_RULES.md
- README.md
- auth.ts
- components.json
- drizzle.config.ts