Skip to content

stormsync/provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StormSync Provider

License Issues Forks Stars

StormSync Provider is a Go-based library designed to facilitate data synchronization and management. This project includes components for API interactions, data consumption, and storage handling.

Storm Sync API Documentation Based on the information from the repository, here is a detailed README for the StormSync Provider:

Table of Contents

Installation

To get started with StormSync Provider, clone the repository and build the project using Go:

git clone https://github.com/stormsync/provider.git
cd provider
go build

Usage

Running the Server

To run the server, navigate to the cmd/server directory and execute:

cd cmd/server
go build -o app main.go
chmod +x app
./app

This will start the StormSync server, which can then be accessed via the configured API endpoints.

Configuration

Configuration settings for the StormSync Provider are typically defined in environment variables. Example configuration includes setting up the database connection, API keys, and other needed settings.

Environment Variables

These env vars are required to run this application.

API_KEY="xxxx" 
DB_PASS="xxxx" 
DB_ADDRESS="xxxx" 
DB_NAME="xxxxx" 
DB_USER="xxxxxx" 
WEB_SERVER_ADDRESS="0.0.0.0:8080", 
KAFKA_ADDRESS="xxxxx"
KAFKA_USER="xxxxxx"
KAFKA_PASSWORD="xxxxxx"
CONSUMER_TOPIC="transformed-weather-data"  

Running Tests

Run tests using the following command:

go test ./...

About

Provides access to storm data through a restful api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors