Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

geekapk-r/GeekApkR

Repository files navigation

GeekApk Rust Server

Travis Status Rocket Powered APIs Android UI

Pure android market&community

๐Ÿ”ฎ GeekApk API Server written in Rust

Web framework used: Rocket

ORM: Diesel

GeekApk Organization Service

Installation

Compiling & running

Get Rust Toolchian at rust-lang.org

git clone https://github.com/geekapk/GeekApkR.git&&cd GeekApkR
cargo build

Usage

For Development

Database config priority: DATABASE_URL, ga_username(=geekapk)&ga_password(=dolphins), geekapk.ini

export ga_username=#(YOUR PG USER FOR GEEKAPK)
export ga_password=#(PASSWORD FOR GEEKAPK DATABASE USER)
cargo build
./target/debug/geekapkd

Development

โค๏ธ This application made use of the Rocket Framework and the Diesel ORM

๐ŸŒ๐Ÿ‘ Contributions are welcome, check Android UI for feature designment.

Docs

See GeekApk Dev or GeekApkR Wiki

๐Ÿš€ Testing

Prepare for Postgres database:

CREATE USER geekapk WITH PASSWORD 'dolphins';

CREATE DATABASE geekapk_db;

GRANT ALL PRIVILEGES ON DATABASE geekapk_db TO geekapk;
# Prepare for environment
cargo test

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