idleapi

Version, currently master branch1 version
  • master branchlatestNov 20, 2020

github.com/IdleRPGBot/idleapi

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  idleapi:
    github: IdleRPGBot/idleapi
    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.35.1
License
MIT
Author
domterion
Target
  • idleapi from src/idleapi.cr

Dependencies

Runtime Dependencies

  • pg*github: will/crystal-pg
  • kemal*github: kemalcr/kemal, branch: master
  • redis~> 2.6.0github: stefanwille/crystal-redis
  • crecto*github: Crecto/crecto
  • dotenv*github: gdotdesign/cr-dotenv

README

idleapi

API for IdleDB.

Usage

Change each value in .env to your needs.

.env keys:

*PORT=3001
*IDLEAPI_ENV=dev|prod

*PG_USER=postgres
PG_PASS=postgres
*PG_DB=postgres
*PG_HOST=localhost
*PG_PORT=5432

*REDIS_HOST=localhost
REDIS_PASS
*REDIS_PORT=6379

* = required

Contributing

  1. Fork it (https://github.com/domterion/idleapi/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors