omidbachari / which_config

What's in your IDE?
https://which-config.herokuapp.com/
3 stars 0 forks source link

WhichConfig

Build Status

Overview

This application is an Elixir on Phoenix API that surveys Mojos for data on their development environment. A script can be included in the configuration layer of a text editor, for example, that sends a payload with valuable data to this API. In turn, WhichConfig will broadcast live data on that activity.

Setup

Follow the elixir install instructions here.

Follow the phoenix install instructions here. The steps here include getting node and psql installed.

Setup commands

$ git clone:git@github.com:omidbachari/which_config.git
$ mix deps.get
$ npm install
$ mix ecto.create && mix ecto.migrate

Test

$ mix test

Run server locally

$ mix phoenix.server

Example command line interaction with API

$ curl --data "config[config_handle]=spacemacs&config[owner]=your_name" http://localhost:4000/api/configs