superapp-business

business

191 file ยท 274.7 MB

Sistem informasi live โ€” business-mocha-eight.vercel.appBuka di tab baru

README

<div align="center">

๐Ÿ“Š 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:

๐Ÿ“š Information Architecture

The content is organized into 10 fundamental business domains, designed to provide a 360-degree view of company building:

  1. Startup & Entrepreneurship ๐Ÿš€
  2. Strategy & Management ๐ŸŽฏ
  3. Marketing & Growth ๐Ÿ“ˆ
  4. Finance & Investment ๐Ÿ’ฐ
  5. Operations & Execution โš™๏ธ
  6. Product Management ๐ŸŽฏ
  7. Sales & Business Development ๐Ÿค
  8. Digital Business & Tech ๐Ÿ’ป
  9. Leadership & People ๐Ÿ‘ฅ
  10. 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_URL and DIRECT_URL)
  • A GitHub OAuth App for Authentication (AUTH_GITHUB_ID and AUTH_GITHUB_SECRET)
  • An arbitrary AUTH_SECRET string (generate via npx 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:

  1. Type checking (tsc)
  2. Linting (eslint)
  3. Unit Tests (vitest)
  4. 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