CrateDB Sample Apps

一个JavaScript留言簿应用程序,具有许多不同的后端实现,每个都使用不同的客户端库与CrateDB进行通信。(A JavaScript guestbook app with a number of different backend implementations, each using a different client library to communicate with CrateDB.)

Github星跟踪图

===================
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:

.. code-block:: sh

$ 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:

  • Python_ (using dbapi_, crate-python_)
  • PHP_ (using PDO_, crate-pdo_)
  • Java_ (using JDBC_, pgjdbc_)
  • Erlang_ (using Erlang_, craterl_)

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?

  • Check out our support channels_

.. _client library: https://crate.io/docs/clients/
.. _contribution docs: CONTRIBUTING.rst
.. _crash: https://github.com/crate/crash
.. _crate-pdo: https://github.com/crate/crate-pdo
.. _crate-python: https://github.com/crate/crate-python
.. _Crate.io: http://crate.io/
.. _CrateDB: https://github.com/crate/crate
.. _craterl: https://github.com/crate/craterl
.. _dbapi: https://www.python.org/dev/peps/pep-0249/
.. _developer docs: DEVELOP.rst
.. _Erlang: erlang
.. _frontend: frontend
.. _Getting Started: https://crate.io/docs/getting-started/
.. _Java: java
.. _JDBC: http://www.oracle.com/technetwork/java/overview-141217.html
.. _PDO: http://at2.php.net/manual/en/book.pdo.php
.. _pgjdbc: https://github.com/pgjdbc/pgjdbc
.. _PHP: php
.. _Python: python
.. _REST API: https://crate.io/docs/clients/rest/
.. _support channels: https://crate.io/support/

主要指标

概览
名称与所有者crate/crate-sample-apps
主编程语言Java
编程语言Python (语言数: 9)
平台Docker, Linux, Mac, Windows
许可证Apache License 2.0
所有者活动
创建于2015-12-16 09:34:03
推送于2025-02-03 11:05:20
最后一次提交
发布数0
用户参与
星数68
关注者数42
派生数36
提交数225
已启用问题?
问题数10
打开的问题数1
拉请求数141
打开的拉请求数15
关闭的拉请求数151
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?