Documentation & Getting Started

Installation

  1. Clone the repository: git clone https://github.com/ErfanBagheri404/panello-lib
  2. Navigate to the project folder: cd panello-lib
  3. Install dependencies: npm install
  4. Run the dashboard: npm run dev

Environment Variables

Before running the project, create a .env file in the root directory and set the following variables:

  • MONGODB_URI – MongoDB connection string
  • JWT_SECRET – Secret for JWT authentication
  • CLOUDINARY_URL – (Optional) Cloudinary config for image uploads
  • PORT – (Optional) Port to run the server (default: 3000)

Others

  • Make sure you have Node.js 16+ and npm installed.
  • For more advanced configuration and troubleshooting, see the full documentation.

Quick Start

  1. Clone the repository: git clone https://github.com/ErfanBagheri404/panello-lib
  2. Navigate to the project folder: cd panello-lib
  3. Install dependencies: npm install
  4. Run the dashboard: npm run dev
Full Documentation

API Reference & Sample Code

Find detailed API documentation and code samples in the GitHub README.