Elixir

A sample elixir app for KintoHub

๐Ÿš€ Deploying on KintoHub#

  • Service Type: Backend API
  • Repo: https://github.com/kintoproj/kinto-examples
  • Subfolder Path: ./elixir
  • Branch: main
  • Language: Elixir
  • Language version: 1.10
  • Build Command: mix local.hex --force && mix local.rebar --force && mix deps.get --quiet && mix
  • Start Command: mix run --no-halt
  • Port: 3000

When complete, open the Access tab and open the external URL to see your Elixir example!

tip

An Elixir example can be deployed using Dockerfile on KintoHub

๐Ÿฌ Deploying with Dockerfile#

๐Ÿ”จ Running locally#

Pre-requisites: Elixir v1.10

  • Clone the repository to a folder of choice.
$ git clone https://github.com/kintoproj/kinto-examples
$ cd kinto-examples/elixir
  • Install the dependencies
$ mix local.hex --force && mix local.rebar --force && mix deps.get --quiet && mix
  • To start the app
$ mix run --no-halt

After running this command, open localhost:3000 in your browser to view the response sent.

Response sent#

Hello world

๐Ÿš‘ Support#

Slack: https://slack.kintohub.com/