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)
- Java-Spring (using Spring Boot, Spring Data JDBC)
- Erlang (using Erlang, craterl)
This project is community maintained, any contributions are welcome.
Looking for more help?
- Check out our support channels