Skip to content

A JavaScript guestbook app with a number of different backend implementations, each using a different client library to communicate with CrateDB.

License

Notifications You must be signed in to change notification settings

tudamp/crate-sample-apps

 
 

Repository files navigation

CrateDB Sample Apps

Overview

A JavaScript guestbook app with a number of different backend implementations, each using a different client library to communicate with CrateDB.

Prerequisites

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.

Setup

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'"

Components

Frontend

The frontend is shared by all apps and is written in JavaScript. This frontend communicates with the backend over a REST API.

Backends

The are several implementations of the backend REST API:

Contributing

This project is community maintained, any contributions are welcome.

See the developer docs and the contribution docs for more information.

Help

Looking for more help?

About

A JavaScript guestbook app with a number of different backend implementations, each using a different client library to communicate with CrateDB.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 34.3%
  • Erlang 30.9%
  • Python 15.0%
  • JavaScript 8.6%
  • PHP 6.7%
  • HTML 3.5%
  • CSS 1.0%