GeekServer-Failed

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

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"

Deploy

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

Repository

GeekServer-Failed

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 4
  • about 6 years ago
  • December 14, 2017
License

GNU Affero General Public License v3.0

Links
Synced at

Fri, 03 May 2024 06:52:36 GMT

Languages