StefanYohansson / mirai-no-denwa

未来の電話 - (p)react+redux softphone using jssip or verto adapter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web::Telephone

(p)react+redux softphone using jssip or verto adapter.


Quick-Start Guide

Installation

1. Clone this repo:

git clone https://github.com/StefanYohansson/web-telephone.git
cd web-telephone

3. Install the dependencies:

npm install

You're done installing! Now let's get started developing.

Development Workflow

4. Start a live-reload development server:

PORT=8080 npm run dev

This is a full web server nicely suited to your project. Any time you make changes within the src directory, it will rebuild and even refresh your browser.

5. Generate a production build in ./build:

npm run build

You can now deploy the contents of the build directory to production!

Example: deploy to surge.sh:

npm i surge && surge build -d my-app.surge.sh


Structure

Apps are built up from simple units of functionality called Components. A Component is responsible for rendering a small part of an application, given some input data called props, generally passed in as attributes in JSX. A component can be as simple as:

class Link extends Component {
  render({ to, children }) {
    return <a href={ to }>{ children }</a>;
  }
}
// usage:
<Link to="/">Home</Link>

License

MIT

About

未来の電話 - (p)react+redux softphone using jssip or verto adapter.


Languages

Language:JavaScript 79.4%Language:Less 13.4%Language:EJS 7.2%