/composr

React website for www.composrapp.com deployed with the Serverless Framework.

Primary LanguageJavaScript

composr-plus-bandlab

Composr

Composr, lets you record and compose songs socially. Collaborate with musicians from all over the world.

Prerequisites

For node module management, Composr uses Yarn over NPM.

To install yarn globally on your machine please check Installing Yarn.

Quick Start

  1. Setup project

This is a convenience method to install a pre-made Serverless Service locally by downloading the Github repo and unzipping it. Services are listed below.

serverless install -u https://github.com/nicka/composr-react
  1. Install development dependencies
yarn

React

Start locally

yarn start

Build

Create development build artifacts.

yarn run build

Create production build artifacts.

yarn run build:prod

Deploy

Deploy build artifacts.

STAGE="dev" yarn run sls:client:deploy

Test

For testing Composr uses Jest, for more information please check their documentation.

NOTE: To update Jest snapshots supply -- -u to any of the test commands.

Running the tests

yarn run test

Code coverage

In order to inspect code coverage:

open coverage/lcov-report/index.html