Skip to content

logo

Coronium Core is an all-in-one Lua application server built for Corona developers.

Click Here To Install Coronium Core Now!

Core Features

Simple Lua Based API Corona Client Plugin Quick & Easy Installation
Browser Based Webmin MySQL Databases Mongo Databases
User Management Application Analytics File Mangement
Recurring Jobs Service Dynamic Web Pages Customizable Server APIs
Email Sending via Mailgun Powered by Nginx & LuaJIT Detailed Documentation

MySQL Example

Client-Side Only

Using the Corona Plugin:

local core = require("plugin.coronium-core")

core.init({
  server = "https://my.coronium.server",
  key = "4057c8a8-0ab2-11e8-8f97-3edbd9b391ed"
})

local function onResponse(evt)
  if evt.error then
    print(evt.error)
  else
    print(evt.result.name)
  end
end

core.mysql.selectOne({
  db = "products",
  tbl = "toys",
  where = { name = "red car" }
}, onResponse)

Server-Side API

A server-side API module:

local api = core.api()

function api.getCars(input)
  local res, err = core.mysql.selectOne("products", {
    tbl = "toys",
    where = { name = input.name }
  })

  if not res then
    return core.error(err)
  end

  return res
end

return api

Calling from the client-side:

--== Initialization (see above)

local function onResponse(evt)
  if evt.error then
    print(evt.error)
  else
    print(evt.result.name)
  end
end

core.api.getCars({name="red car"}, onResponse)

Overview

Extend your applications into the cloud with Mongo and MySQL databases, user management, analytics, recurring jobs, secure file transfers and storage, dynamic public facing web pages, email, and more; all scripted using a ridiculously simple Lua based API.

Coronium Core includes a fully visual browser based "Webmin" to view statistics, app analytics, work with users, manage API projects, create recurring jobs, monitor your system, edit code with a robust code editor, and more.

Use the Coronium Core Corona plugin for most tasks without ever writing a line of code on the server. When you need to take it to the next level, create custom server-side APIs with Lua for complex data driven applications.

With the Coronium Core all-in-one server, you own and control your data, with an easy to use custom built solution for Corona developers.

Install

Click Here to Get Started Installing Coronium Core!