Simple API that allows creating articles and comments for them.
Information about ruby and rails versions.
- PostgreSQL 9.3.1
brew install postgres
- Ruby 2.2.3
rbenv install 2.2.3
- Rails 4.2.4
Clone this repo:
git clone git@github.com:NiyazSerazetdinov/pdp-angular-api.git
cd repo
Run setup script
bin/setup
Run server script
bin/server
01_config.rb
- shortcut for getting application config withapp_config
mailer.rb
- setup default hosts for mailer from configurationrequires.rb
- automatically requires everything in lib/ & lib/extensions
bin/setup
- setup required gems and migrate db if neededbin/quality
- run brakeman and rails_best_practices for the appbin/ci
- should be used in the CI to run specs
Run server script bin/server
and navigate to http://localhost:5000/docs
Project page on Semaphore.