Skip to content

A sample app built with Node and React to illustrate the 12 factors

Notifications You must be signed in to change notification settings

schaable/instastack-12factors

 
 

Repository files navigation

Instastack - 12 factor app example

This project is a fork of samuxyz/instastack that complies with the 12 factors.

The twelve-factor app is a methodology for writing applications where the goal is building software as a service (SaaS).

The main principles are:

  • Use declarative formats for setup automation, to minimize time and cost for new developers joining the project.
  • Have a clean contract with the underlying operating system, offering maximum portability between execution environments.
  • Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration.
  • Minimize divergence between development and production, enabling continuous deployment for maximum agility.
  • And can scale up without significant changes to tooling, architecture, or development practices.

How to use this repo

The master branch contains the app without any factor applied. Besides master, there are twelve branches, one for each factor. In the readme of each branch, you can find information about that particular factor and any setup needed to run the code.

Prerequisites

  • node
  • yarn

How to Run the app

  1. Install the dependencies with
yarn install
  1. In /src/index.js add a Filestack API key

  2. It is required you have imagemagick installed as a global package to test the Dependencies factor

npm install -g imagemagick
  1. Run the following command to start the app on the local environment
yarn dev

About

A sample app built with Node and React to illustrate the 12 factors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%