Documentation
    Preparing search index...

    Ignitor is used to instantiate an AdonisJS application in different known environments. It serves as the main entry point for creating and managing application processes.

    const ignitor = new Ignitor(new URL(import.meta.url))

    // For HTTP server
    await ignitor.httpServer().start()

    // For CLI commands
    await ignitor.ace().handle(process.argv.slice(2))

    // For tests
    await ignitor.testRunner().run(() => {})
    Index

    Constructors

    Methods

    • Terminates the app by calling the "app.terminate" method

      Returns Promise<void>