RESTfull API, 2016 Homework assignment by Codaisseur. (back-end-api)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.codeclimate.yml
.gitignore
.rspec
.rubocop.yml
.travis.yml
Gemfile
Gemfile.lock
Guardfile
Procfile
README.md
Rakefile
codeschoolreviews.png
config.ru

README.md

Build Status Code Climate Test Coverage

#Code School Reviews! Back-end

##TDD + Rails RESTful JSON API back-end + ReactJS front-end client

###Info:

I've build this code school review application on my own as a [homework assignment] (https://www.codaisseur.com/) during my developer traineeship at Codaisseur.

The test driven (TDD), RESTful API Back-end is made in Ruby on Rails serving a JSON format. It utilizes Puma for HTTP Concurrency and CORS middleware, that allows it to have cross domain AJAX calls with the ReactJS Front-end client, the HTTP requests are preformed asynchronously trough jQuery AJAX. Checkout the live demo's here:

Front-end demo / Source | Back-end demo / Source

####Resources used:

Back-end:

  • Ruby, Ruby on Rails, JSON
  • Carrierwave & Carrierwave Base64 (for image upload & processing)
  • Carrierwave DropBox (file upload)
  • Puma (Concurrency)
  • CORS (Middleware)
  • Rspec (TDD)
  • Travis CI & Code Climate (Continuous integration)

Front-end:

  • JavaScript(ES2015), ReactJS
  • jQuery, AJAX
  • React Router
  • SCSS, Bootstrap (CSS3 Animations)

####TODO:

  • User authentication.
  • Social Media Integration.

Installation

Front-end:

npm install
npm start
open http://localhost:3001

Back-end:

bundle install
rails s
open http://localhost:3000

code school reviews