Skip to content

dl0312/bonfire.io-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Bonfire.io-server 🔥

Description

🙋‍♂️ Tell your story around 🔥 the bonfire

Dev stack

  • Node.js
  • express
  • socket.io

Features

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

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 port

PORT=${your port}

Yarn CLIs

Install project

$ nvm use
...
$ yarn

Test project

$ yarn test

Start project

$ yarn start

References

This project was inspired by this site

License

MIT