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
-
Clone the Repository:
git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git cd sellifi-api-2 -
Set Up Environment Variables:
- Copy
.env.exampleto.envand configure values.
- Copy
-
Install Dependencies:
go mod tidy -
Start the Application:
go run main.go -
Verify API is Running:
- Check
http://localhost:8080.
- Check