wazery / api-1

The Agnostic Rails API that powers Draft apps

Home Page:https://api.draftapp.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Docker Repository on Quay

Draft Logo

Draft Agnostic Rails API

The agnostic Rails API that powers the Draft Chrome extension, Angular web and mobile applications.

Local Installation

  1. Clone the repo
  2. Start MongoDB daemon
  3. Start Redis server
  4. Create your config/secrets.yml config file
  5. Start the Rails server via rails server or rails s

Puma

To install Puma:

gem install puma -v '3.6.0' -- --with-opt-dir=/usr/local/opt/openssl

Secrets.yml

You Should create a file under config directory for your application secrets. It should conform to the following style:

development: &development
  secret_key_base: token

production:
  secret_key_base: token

test:
  <<: *development

github_client_id: token
github_client_secret: token

About

The Agnostic Rails API that powers Draft apps

https://api.draftapp.io


Languages

Language:Ruby 65.9%Language:HTML 33.9%Language:Dockerfile 0.2%