grilix / ruby-api

Un esqueleto para hacer una API con cuba y sequel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuración

Copiar el archivo .env.example como .env y configurar los valores en este último.

Correr docker/setup.sh.

Levantar el proyecto

Correr docker/start.sh

Testear

Correr docker/test.sh

Consola REPL

Correr docker/run.sh api ruby ./console

Crear usuarios

Services::Users::Authentication.register_user({
  username: 'name',
  password: 'pass',
})

About

Un esqueleto para hacer una API con cuba y sequel


Languages

Language:Ruby 90.0%Language:Shell 10.0%