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
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.
Learn how Kuzzle will accelerate your developments :point_right: https://docs.kuzzle.io/core/2/guides/introduction/what-is-kuzzle/
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.
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!
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:
npx kourou greeting:sayHello --arg name=YagmurLearn how to Write an Application.
Content type
Image
Digest
sha256:4b3bb2815…
Size
353.4 MB
Last updated
3 months ago
docker pull kuzzleio/kuzzle