sellifi-api-2 Installation

sellifi-api-2 is a Go Fiber application handling green score services.

2.1 Prerequisites

  • Go (version 1.19 or above)
  • Redis (for caching)
  • PostgreSQL (for persistent storage)

2.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-api-2
    
  2. Set Up Environment Variables:

    • Copy .env.example to .env and configure values.
  3. Install Dependencies:

    go mod tidy
    
  4. Start the Application:

    go run main.go
    
  5. Verify API is Running:

    • Check http://localhost:8080.