React Over Crystal Kemal and Yarn
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.
assets Fixed bug on gulp Apr 30, 2017
public Fixed bug on gulp Apr 30, 2017
spec officially working on the rocky stack wish me luck! Apr 13, 2017
src setup database May 10, 2017
.gitattributes
.babelrc
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md Version 1.1.0 I added live reload for sass and javascript react Apr 29, 2017
gulpfile.js
package.json Example javascript Apr 30, 2017
rocky more changes Apr 16, 2017
shard.lock Tuts May 7, 2017
shard.yml
webpack.config.js Example javascript Apr 30, 2017
yarn.lock Version 1.1.0 I added live reload for sass and javascript react Apr 29, 2017

README.md

Introduction

React Over Crystal, Kemal, & Yarn

Current version is 1.1.0 See the Full Documentation http://rocky.codingphase.com/

JavaScript Style Guide

JavaScript Style Guide

Welcome to the ROCKY Stack

I built this as an experiment to put together the best libraries to build a modern yet simple stack.

I chose to base my stack

  • React - Solid front end framework backed by Facebook

  • Crystal - A powerful new language with syntax similar to ruby but is as fast as "C"

  • Kemal - Super light weight http framework made by Serdar Doğruyol

  • Yarn - The fastest package manager also made by Facebook

Installation

Follow the code on the right for the installation commands that you will have to run on your operating systems terminal / console.

Requirements

Rocky Project

git clone https://github.com/codingphasedotcom/rocky

Download or clone the ROCKY Project

https://github.com/codingphasedotcom/rocky

homebrew for mac

OS X (Mac)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Homebrew

brew update
brew install crystal-lang
brew install yarn

Make sure you have homebrew

Ubuntu / Linux

curl https://dist.crystal-lang.org/apt/setup.sh | sudo bash
sudo apt-get install crystal
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

Debian / Ubuntu

For other OSes and distros check the official documentation.

https://yarnpkg.com/en/docs/install#linux-tab

Dependencies

Get Crystal Dependencies

#terminal
shards install

Get all the "Backend" crystal dependencies

Get Yarn Dependencies

#terminal
yarn install

Get all the "Frontend" dependencies

Get Gulp

npm install --global gulp-cli

Install Gulp to be your task runner.

Getting Started

#terminal
yarn run server

To test everything is good run the server.

Now if you visit http://localhost:3000/ you should see the welcome home page