Giter VIP home page Giter VIP logo

crick's Introduction

crick

CircleCI

Crick is a backend for the Watson time-tracker, built during a "Le lab" session:

Installation

API

Start the Docker environment (Golang and PostgreSQL containers) with the following command lines:

$ cd api/
$ make dev

Be sure to apply all the migrations:

$ make migrate-up

Get the API logs:

$ make logs

Get help:

$ make [help]

Stop and remove the Docker environment:

$ make down

Load Watson's frames to your local server (python 3.4+ is required):

$ CRICK_API_TOKEN='mytoken' python3 api/scripts/watson_push.py (-h)

About

The API documentation can be found in the apiary.apib file or online at: http://docs.crickapi.apiary.io/. This HTTP API is written in Go and serves two purposes: providing a endpoint for Watson synchronization and allowing the web app to access data.

Web app

$ cd web/
$ yarn install
$ make dev

Browse: http://crick.dev:3000/.

About

The Web application is a create-react-app client side application. Authentication with the HTTP API relies on Auth0.

Contributing

Please, see the CONTRIBUTING file.

Running the test suite

$ cd api/ && make test
$ cd web/ && yarn test -- --watch=false

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See CODE_OF_CONDUCT file.

License

Crick is released under the MIT License. See the bundled LICENSE file for details.

crick's People

Contributors

willdurand avatar jmaupetit avatar

Watchers

James Cloos 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.