Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

IS3D/node-faye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Faye

Faye server with Node & Express

Make sure you have Node.js and the Heroku CLI installed.

  • Install Yarn: npm install -g yarn
  • Install dependencies: yarn
  • Run the server locally: npm start

Development Environment Setup

Local Environment

Docker Compose (Recommended)

This application uses Docker Compose, a tool for defining and running multi-container Docker applications which eliminates "works on my machine" problems when collaborating on code with co-workers. Docker Compose is the recommended Development setup for all environments (MacOS, Linux, Windows), as it more closely resembles the Production environment (containerized Linux).

Install tools and dependencies:

Configure Environment:

This application follows the 12-factor methodology. Instead of hardcoding configuration, as it relates to API keys, services, and database credentials, we rely on environment variables to handle this sensitive information.

Change the example.env file name to .env.

Build containers, install application and set up database:

$ git clone git@github.com:IS3D/node-faye.git
$ cd IS3D
$ docker-compose build
$ docker-compose up

Your app should now be running on localhost:8080.

Deployment

Heroku

About

Faye server with Node & Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published