CrateDB Sample Apps
You need install and run CrateDB 0.54.1 or higher before you set things up.
If you're using the Java backend, you will need 0.57.0 or higher.
You will also need to install crash (the CrateDB CLI tool) to work with CrateDB on the command line.
See the CrateDB Getting Started guide for help.
Once CrateDB instance is running, create the required schema and import the country data:
$ crash < sql/schemas.sql $ crash -c "COPY guestbook.countries FROM '$(pwd)/sql/countries.json'"
The are several implementations of the backend REST API:
- Python (using dbapi, crate-python)
- PHP (using PDO, crate-pdo)
- Java (using JDBC, pgjdbc)
- Erlang (using Erlang, craterl)
This project is primarily maintained by Crate.io, but we welcome community contributions!
Looking for more help?