Welcome to Step 3 of the Getting Started guide! 🎉 In this section, we'll walk you through the essential configuration steps to get your project up and running smoothly.

Key Configuration Steps

  1. Set Up Environment Variables

    • Navigate to your project's root directory and locate the .env file.
    • Add the following variables (replace placeholders with your actual values):
      API_KEY=your_api_key_here
      DATABASE_URL=your_database_connection_string
      LOG_LEVEL=info
      

    📌 Tip: Use LOG_LEVEL to control verbosity during development.

  2. Install Dependencies
    Run the command below to install required packages:

    npm install
    

    🚀 This ensures all libraries and tools are properly set up.

  3. Initialize the Database
    Execute the setup script to create tables and populate initial data:

    node db/init.js
    

    📜 Note: This step may take a few minutes depending on your system.

Next Steps

Once configured, proceed to Step 4: Running Your First Request to test your setup.

Environment Variables Setup

For detailed explanations of configuration options, refer to Configuration Reference. 📘