Sign inSign up

kuzzleio/kuzzle

By kuzzleio

•Updated 15 days ago

Kuzzle Embedded Container

Image
10

100K+

kuzzleio/kuzzle repository overview

This image is obsolete because it's used with the old way of writing custom code with Kuzzle. Now you should use the kuzzleio/kuzzle-runner image Run Kuzzle⁠

⁠Why Kuzzle ?

Kuzzle is a generic backend⁠ offering the basic building blocks common to every application.

Rather than developing the same standard features over and over again each time you create a new application, Kuzzle proposes them off the shelf, allowing you to focus on building high-level, high-value business functionalities.

Kuzzle enables you to build modern web applications and complex IoT networks in no time.

  • API First: use a standardised multi-protocol API.
  • Persisted Data: store your data and perform advanced searches on it.
  • Realtime Notifications: use the pub/sub system or subscribe to database notifications.
  • User Management: login, logout and security rules are no more a burden.
  • Extensible: develop advanced business feature directly with the integrated framework.
  • Client SDKs: use our SDKs to accelerate the frontend development.

Learn how Kuzzle will accelerate your developments :point_right: https://docs.kuzzle.io/core/2/guides/introduction/what-is-kuzzle/⁠

⁠Kuzzle in production

Kuzzle is production-proof, and can be deployed anywhere⁠.

With Kuzzle, it is possible to deploy applications that can serve tens of thousands of users with very good performances.

Check out our support plans⁠.

⁠Run Kuzzle

The easiest way to start a Kuzzle application is to use Kourou⁠:

npx kourou app:scaffold playground

 🚀 Kourou - Scaffolds a new Kuzzle application
 
  ✔ Creating playground/ directory
  ✔ Creating and rendering application files
  ✔ Installing latest Kuzzle version via NPM and Docker (this can take some time)
 [✔] Scaffolding complete! Use "npm run dev:docker" to run your application

Then you need to run Kuzzle services, Elasticsearch and Redis: kourou app:start-services

Finally you can run your application inside Docker with npm run dev:docker

Kuzzle is now listening for requests on the port 7512!

⁠Use the framework

Your first Kuzzle application is inside the app.ts file.

For example, you can add a new API Controller⁠:

import { Backend } from 'kuzzle';

const app = new Backend('playground');

app.controller.register('greeting', {
  actions: {
    sayHello: {
      handler: async request => `Hello, ${request.input.args.name}` 
    }
  }
});

app.start()
  .then(() => {
    app.log.info('Application started');
  })
  .catch(console.error);

Now try to call your new API action by:

Learn how to Write an Application⁠.

Tag summary

Content type

Image

Digest

sha256:e35ef299f…

Size

307.5 MB

Last updated

15 days ago

docker pull kuzzleio/kuzzle