crystal-api
Version, currently master branch1 version
- master branchlatestMar 15, 2018
github.com/elpassion-labs/crystal-api
No description declared in shard.yml.
Installation
# Add this to your shard.yml
dependencies:
crystal-api:
github: elpassion-labs/crystal-api
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.24.1- License
- UNLICENSED
- Author
- Arkadiusz Oleksy
- Targets
amberfrom lib/amber/src/amber/cli.crcrystal-apifrom src/crystal-api.cr
Dependencies
Runtime Dependencies
- pg~> 0.14.1github: will/crystal-pg
- amber0.6.7github: amberframework/amber
- granite_orm~> 0.8.2github: amberframework/granite-orm
- quartz_mailer~> 0.5.0github: amberframework/quartz-mailer
- jasper_helpers~> 0.1.6github: amberframework/jasper-helpers
Development Dependencies
- garnet_spec~> 0.1.1github: amberframework/garnet-specdev
README
crystal-api
This project is powered by Amber Framework.
Installation
- Install required dependencies
- Run
shards install
Usage
To setup your database edit database_url inside config/environments/development.yml file.
To edit your production settings use amber encrypt. See encrypt command guide
To run amber server in a development enviroment:
amber db create migrate
amber watch
To build and run a production release:
- Add an environment variable
AMBER_ENVwith a value ofproduction - Run these commands:
npm run release
amber db create migrate
shards build --production
./bin/crystal-api
Docker Compose
To set up the database and launch the server:
docker-compose up -d
To view the logs:
docker-compose logs -f
Note: The Docker images are compatible with Heroku.
Contributing
- Fork it ( https://github.com/aarek/crystal-api/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- aarek Arkadiusz Oleksy - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Mar 15, 2018
- Crystal
0.24.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/elpassion-labs/crystal-api
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1