API
blind-test-api
This is a project written using Amber. Enjoy!
Prerequisites
- crystal 0.28.0
- amber
- postgresql
Getting Started
- Clone this repository
- Duplicate the
.env.samplefile to.envand ask the others devs for the env variables.
A - Installing crystal
- Install crystal 0.28.0 using
crenv - Install amber
- Run
shards installto install dependencies - Run
amber db create migrateto setup the database - Run
amber wto start the server - Run
crystal specto run the specs - Run
crystal tool formatto run the linter
B - Using Docker
- Run
docker-compose buildto setup - Run
docker-compose upto start the server - Run
docker-compose run specsto run the specs
Now you can target http://localhost:3000/ with curl and postman.
Repository
API
Owner
Statistic
- 0
- 1
- 0
- 0
- 11
- over 6 years ago
- April 23, 2019
License
Links
Synced at
Wed, 29 Oct 2025 13:28:03 GMT
Languages