blind-test-api

Version, currently master branch1 version
  • master branchlatestJul 23, 2019

github.com/blind-test/API

No description declared in shard.yml.

0 stars
0 dependents
License: UNLICENSED

Installation

# Add this to your shard.yml
dependencies:
  blind-test-api:
    github: blind-test/API
    branch: master

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

Then run:

shards install

shard.yml

Crystal
0.28.0
License
UNLICENSED
Author
Amelie Certin
Targets
  • amber from lib/amber/src/amber/cli.cr
  • blind-test-api from src/blind-test-api.cr

Dependencies

Runtime Dependencies

  • pg~> 0.16.1github: will/crystal-pg
  • jwt*github: crystal-community/jwt
  • amber0.28.0github: amberframework/amber
  • dotenv*github: gdotdesign/cr-dotenv
  • monads0.3.0github: alex-lairan/monads
  • granite~> 0.15.0github: amberframework/granite
  • awscr-s3*github: taylorfinnell/awscr-s3
  • citrine-i18n0.3.2github: amberframework/citrine-i18n
  • quartz_mailer~> 0.5.1github: amberframework/quartz-mailer
  • jasper_helpers~> 0.2.1github: amberframework/jasper-helpers

Development Dependencies

  • garnet_spec~> 0.2.1github: amberframework/garnet-specdev

README

blind-test-api

Amber Framework

This is a project written using Amber. Enjoy!

Prerequisites

  • crystal 0.28.0
  • amber
  • postgresql

Getting Started

  • Clone this repository
  • Duplicate the .env.sample file to .env and ask the others devs for the env variables.

A - Installing crystal

  • Install crystal 0.28.0 using crenv
  • Install amber
  • Run shards install to install dependencies
  • Run amber db create migrate to setup the database
  • Run amber w to start the server
  • Run crystal spec to run the specs
  • Run crystal tool format to run the linter

B - Using Docker

  • Run docker-compose build to setup
  • Run docker-compose up to start the server
  • Run docker-compose run specs to run the specs

Now you can target http://localhost:3000/ with curl and postman.