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

colinvanniekerk/crate-sample-apps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 primarily maintained by Crate.io, but we welcome community contributions!

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 40.9%
  • Python 21.5%
  • Java 16.1%
  • PHP 9.6%
  • JavaScript 5.5%
  • HTML 5.0%
  • CSS 1.4%