shuntagami / acme

An opinionated Sinatra template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Acme

This is simple REST API server by Sinatra interact with MySQL, influenced by Ruby on Rails.

Keywords

Build Docker image

$ make build

Create DB and migrate

$ make db.create && make db.migrate

Run application and check if app is healthy

$ make up
curl localhost:4567/_healthcheck
{"msg":"ok"}

Run test

$ make api_test

About

An opinionated Sinatra template.

License:MIT License


Languages

Language:Ruby 87.5%Language:Makefile 7.6%Language:Dockerfile 4.8%