Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Demo application developed with FOCUS libs in version 3

License

Notifications You must be signed in to change notification settings

get-focus/deprecated-focus-demo-app

Repository files navigation

Focus demo application

Purpose

This application sets to music FOCUS libraries and components.

image

image

How to install it ?

Clone or download project code sources.

Install package dependencies :

npm i

How to launch it ?

You don't have your own server API, you can use our mock API by launching this command:

node api

The mock API serve fake datas at this URL : http://localhost:9999/.

The section below explain how to plug your own API.

To launch webapp server :

npm start

Open you browser and access to this URL : http://localhost:3000/

How to plug my own backend API ?

Edit config.webpack.js file and replace API_ROOT var by root your root API URL in this section :

plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.DefinePlugin({
        API_ROOT: '"http://localhost:9999"'
    })
],

API format

API must respect those rules : https://gist.github.com/pierr/86159b709242ea96c71c

About

Demo application developed with FOCUS libs in version 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published