An open API service indexing awesome lists of open source software.

https://github.com/7bridges-eu/carter

Twitter analysis with Clojure and OrientDB
https://github.com/7bridges-eu/carter

clojure clojurescript graph orientdb twitter

Last synced: about 1 month ago
JSON representation

Twitter analysis with Clojure and OrientDB

Awesome Lists containing this project

README

        


7bridges carter

# carter

**carter** is an example project to show the usage of
[OrientDB](http://orientdb.com/orientdb/) binary protocol through
[7bridges](https://7bridges.eu) Clojure driver
[clj-odbp](https://github.com/7bridges-eu/clj-odbp).

Give it a try: https://carter.7bridges.eu/

## Self-hosted setup

If you want to self-host the project, or intend to use the code as a base for a
personal project, create a `conf/config.edn` file in the root of the project
with the following format.

``` clojure
{:http {:port 8080}
:orient {:host
:port
:db-name
:properties {:user
:password
:consumer-secret }}
```

`consumer-key` and `consumer-secret` are the Consumer Key and Consumer Secret
you will find in “Keys and Access Tokens” of your Twitter application
management.

Then run:

``` shell
$ lein init-db
$ lein cljsbuild once
$ lein run
```

Now point your browser to `http://localhost:8080/` and have fun.

## License

Copyright © 2017 7bridges

Distributed under the Apache License 2.0.