Documentation & Getting Started
Installation
- Clone the repository:
git clone https://github.com/ErfanBagheri404/panello-lib - Navigate to the project folder:
cd panello-lib - Install dependencies:
npm install - 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 stringJWT_SECRET– Secret for JWT authenticationCLOUDINARY_URL– (Optional) Cloudinary config for image uploadsPORT– (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
- Clone the repository:
git clone https://github.com/ErfanBagheri404/panello-lib - Navigate to the project folder:
cd panello-lib - Install dependencies:
npm install - Run the dashboard:
npm run dev
API Reference & Sample Code
Find detailed API documentation and code samples in the GitHub README.