Code Monkey home page Code Monkey logo

sources-api's Introduction

Sources API

Build Status Maintainability Test Coverage Security

This project exposes an API for accessing objects living in the Sources Service database

Prerequisites

You need to install ruby >= 2.5 and run:

bundle install

Getting started

Setup your database configuration

config/database.dev.yml config/database.yml

Then edit the file to setup your postgres info

Next create the database

bin/rake db:create db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes

Start your server:

bin/rails s

This will use kafka by default to send updates for created/updated/deleted actions. It uses localhost:9092 by default but this can be changed by passing QUEUE_HOST= and/or QUEUE_PORT=. To disable kafka updates pass NO_KAFKA=true.

License

This project is available as open source under the terms of the Apache License 2.0.

sources-api's People

Contributors

abellotti avatar agrare avatar bdunne avatar boaz0 avatar bzwei avatar carbonin avatar chambridge avatar djberg96 avatar fryguy avatar gmcculloug avatar gtanzillo avatar hsong-rh avatar hyperkid123 avatar infinitewarp avatar ladas avatar lindgrenj6 avatar lpichler avatar martinpovolny avatar mkanoor avatar pkomanek avatar roliveri avatar rvsia avatar slemrmartin avatar syncrou avatar zsadeh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.