/GeekServer-Failed

[Failed, Crystal HTTP Server "helloworld"] 🔮 GeekApk API Server written in Crystal

Primary LanguageCrystalGNU Affero General Public License v3.0AGPL-3.0

GeekServer

Pure android market&community

🔮 GeekApk API Server written in Crystal

Web framework used: Kemal

ORM: Granite::ORM

GeekApk Organization Service

Installation

Compiling & running

Get Crystal Toolchian at crystal-lang.org

git clone https://github.com/duangsuse/GeekServer.git&&cd GeekServer
shards install
crystal run src/GeekServer.cr

Usage

For Development

export ga_username=#(YOUR MYSQL USER FOR GEEKAPK)
export ga_password=#(PASSWORD FOR GEEKAPK DATABASE USER)
shards build
./bin/GeekServer

Go to localhost:3000 default db uri

mysql:
  database: "mysql://${ga_username}:${ga_password}@127.0.0.1:3306/database"

Development

❤️ This application made use of the Kemal framework and the Granite ORM

🌝👍 Contributions are welcome.

Docs

See GeekApk Dev or GeekServer Wiki

🚀 Testing

export ga_username=#(YOUR MYSQL USER FOR GEEKAPK)
export ga_password=#(PASSWORD FOR GEEKAPK DATABASE USER)

KEMAL_ENV=test crystal spec

Contributing

  1. Fork it
  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