multiverse_travels_booker

Version, currently main branch1 version
  • main branchlatestJun 29, 2023

github.com/jonathan-wanderley/multiverse-travels-booker

An API for trip planning in the Rick and Morty universe, written in Crystal (based on Ruby).

1 stars
0 dependents
License: not declared

Installation

# Add this to your shard.yml
dependencies:
  multiverse_travels_booker:
    github: jonathan-wanderley/multiverse-travels-booker
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
Author
Jonathan Wanderley

Dependencies

Runtime Dependencies

  • pg~> 0.5github: will/crystal-pg
  • sam0.4.2github: imdrasil/sam.cr
  • crest*github: mamantoha/crest
  • kemal~> 1.4.0github: kemalcr/kemal
  • jennifer~> 0.13.0github: imdrasil/jennifer.cr

README

Features

  • Web Framework: Kemal
  • ORM: Jennifer
  • Database: PostgreSQL
  • API Integration: rickandmortyapi.com with GraphQL

Installation

$ shards install

Database config

Change your database settings adding a database url in `config/database.cr and run:

$ crystal sam.cr db:create

After that you can run migrations:

$ crystal sam.cr db:migrate

Built with Crystal