crystal-react-websockets

Version, currently master branch1 version
  • master branchlatestJan 5, 2018

github.com/jann-Briza/crystal-react-websockets

Crystal lang with websockets and react

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crystal-react-websockets:
    github: jann-Briza/crystal-react-websockets
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
jann anthony briza

Dependencies

Runtime Dependencies

  • kemal*github: sdogruyol/kemal

README

crystal-react-websockets

A simple chat appication created using Crystal lang, websockets, and kemal for the http framework fot the server. And for the frontend it is created using React + Redux and node for the server

Installation

Install Crystal in your server. then clone this repository

    git clone https://github.com/briza23/crystal-react-websockets.git

Go to the repository:

    cd crystal-react-websockets

Install shards:

    shards install

Run the server:

    crystal run src/app.cr

the server will run at port 3000 After running the server run the frontend by creating a new terminal ctrl + shift + t. Go to the frontend path

    cd src/javascripts/chat-frontend

Then run the npm

npm start or yarn start

THe frontend will run at port 3001

Usage

A simple chat application using Crystal for the server and React for frontend framework.

Contributing

  1. Fork it ( https://github.com/briza23/crystal-react-websockets/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • [briza23] jann anthony briza - creator, maintainer