📚 Documentation / en / Explore / API_Setup
🧩 API Setup Guide
To configure the API, follow these steps:
Install Dependencies
Use the command below to install required packages:npm install express body-parser cors
Configure Environment Variables
Set your API key and database URL in.env
:API_KEY=your_key_here DATABASE_URL=mongodb://localhost:27017/api_db
Initialize Server
Run the setup script:node setup.js
✅ This will start the server on
http://localhost:3000
.
🔗 For detailed API endpoints, check out our API Reference.