Crick is a backend for the Watson time-tracker, built during a "Le lab" session:
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
$ 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)
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.
$ cd web/ $ yarn install $ make dev
Please, see the CONTRIBUTING file.
Running the test suite
$ cd api/ && make test $ cd web/ && yarn test -- --watch=false
Contributor Code of Conduct
Crick is released under the MIT License. See the bundled LICENSE file for details.