alanwillms / hadnu-api

Hadnu API in Rails 5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hadnu

Codeship Build Status Code Climate Test Coverage

Hadnu is a library and discussion forum application.

This is the 5th major refactoring of Hadnu.

  • Version 1: vanilla HTML
  • Version 2: Zend Framework 1
  • Version 3: Yii Framework 1.1
  • Version 4: Yii Framework 2 + Bootstrap 3
  • Version 5: Ruby on Rails (REST API) + Vue.js (with Bootstrap 4)
  • Version 6: Ruby on Rails (with GraphQL) + Vue.js (with Vuex + Server Side Rendering + Bulma 0 + Object Storage)

Requirements

  • Ruby 2.4+
  • PostgreSQL 9.4+
  • ImageMagick

Deployment

Create a PostgreSQL database.

Copy .env.example to .env and configure it or add its variables to your webserver (Nginx, Apache, etc.) and shell environment.

Run bundle to install gem dependencies.

Run bundle exec rails db:migrate to run database migrations.

Testing

After installing, run bundle exec rspec.

About

Hadnu API in Rails 5


Languages

Language:Ruby 98.6%Language:HTML 1.4%