onyx-todo-json-api

Version, currently part-1 branch1 version
  • part-1 branchlatestAug 13, 2019

github.com/vladfaust/onyx-todo-json-api

Creating JSON APIs with Onyx

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  onyx-todo-json-api:
    github: vladfaust/onyx-todo-json-api
    branch: part-1

part-1 is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.30.1
License
MIT
Author
Vlad Faust
Target
  • server from src/server.cr

Dependencies

Runtime Dependencies

  • onyx~> 0.6.0github: onyxframework/onyx
  • onyx-http~> 0.9.0github: onyxframework/http

README

Built with Crystal Travis CI build

This repository contains code from the Creating JSON APIs with Onyx tutorial series blog posts. It is powered by Crystal and Onyx Framework. The code is split to branches in accordance to the tutorial parts:

  1. Part 1 — The First Endpoint ⎇ part-1 (current)
  2. Part 2 — CRUD ⎇ part-2

Installation

  1. Install Crystal. See the installation instructions.

  2. Clone the repository:

> git clone https://github.com/vladfaust/onyx-todo-json-api && cd onyx-todo-json-api
  1. Install dependenies:
> shards install
  1. Run the server:
> crystal src/server.cr

Contributors

Licensing

This software is licensed under MIT License.

Open Source Initiative