Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codingphasedotcom/rocky
React Over Crystal Kemal and Yarn
https://github.com/codingphasedotcom/rocky
crystal framework full-stack kemal react rocky yarn
Last synced: 14 days ago
JSON representation
React Over Crystal Kemal and Yarn
- Host: GitHub
- URL: https://github.com/codingphasedotcom/rocky
- Owner: codingphasedotcom
- License: mit
- Created: 2017-04-13T02:19:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-27T20:07:22.000Z (almost 7 years ago)
- Last Synced: 2024-08-01T00:41:15.105Z (3 months ago)
- Topics: crystal, framework, full-stack, kemal, react, rocky, yarn
- Language: Crystal
- Size: 866 KB
- Stars: 96
- Watchers: 9
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - rocky - React Over Crystal Kemal and Yarn (Examples and funny stuff)
README
# Introduction
## React Over Crystal, Kemal, & Yarn
Current version is ```1.1.0```
See the Full Documentation [http://rocky.codingphase.com/](http://rocky.codingphase.com/)[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
### 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
```shell
git clone https://github.com/codingphasedotcom/rocky
```Download or clone the ROCKY Project
[https://github.com/codingphasedotcom/rocky](https://github.com/codingphasedotcom/rocky)
homebrew for mac
## OS X (Mac)
```shell
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
Homebrew```shell
brew update
brew install crystal-lang
brew install yarn
```Make sure you have homebrew
## Ubuntu / Linux
```shell
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](https://yarnpkg.com/en/docs/install#linux-tab)
## Dependencies
### Get Crystal Dependencies
```shell
#terminal
shards install
```Get all the "Backend" crystal dependencies
### Get Yarn Dependencies
```shell
#terminal
yarn install
```Get all the "Frontend" dependencies
### Get Gulp
```shell
npm install --global gulp-cli
```Install Gulp to be your task runner.
## Getting Started
```shell
#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