Skip to content

dl0312/bonfire.io-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Bonfire.io-client 🔥

Description

🙋‍♂️ Tell your story around 🔥 the bonfire

Dev stack

  • React and especially use React's new feature 🎣 Hooks
  • socket.io-client

Features

  • New User
  • Get User Number
  • Get New Message
  • User Connection
  • User Disconnection
  • User Reconnection

Getting Started

Prerequisites

Require Description
Git We follow the GitHub Flow
Node.js 10.10 LTS or above
Yarn Recommend stable version

Install Node, Yarn

The project manages the version of node through nvm

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
$ command -v nvm
$ nvm install
$ which node
$ npm install -g yarn

In the project root as follows are performed through the .nvmrc

$ nvm use
Found '/Users/user/Github/higherlowerkor/.nvmrc' with version <10.10.0>

env

fill out .env for your socket.io-server

REACT_APP_SERVER_URL=${your socket.io server url}

Yarn CLIs

Install project

$ nvm use
...
$ yarn

Build project

$ yarn build

Test project

$ yarn test

Start project

$ yarn start

References

This project was inspired by this site

License

MIT