Skip to content
Ext JS Employee Directory Example Application
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server CoWorkee Open Tooling: Initial Commit Dec 6, 2018
.gitignore
LICENSE
README.md Fix webpack config. Feb 20, 2019

README.md

Ext JS Employee Directory

Ext JS Sample Application - Employee Directory (Coworkee)

Getting started

Prerequisite

npm login --registry=https://npm.sencha.com --scope=@sencha

Install the server

Install the server node.js dependencies:

$ cd server
$ npm install

Build the client

Install the Ext JS framework for the application:

$ cd client
$ npm install

Development build:

$ npm start

Production build:

$ npm run production

Run the app

$ cd server
$ npm start

Note: by default, npm start will use the development build. To run the production build, use the following command instead:

$ npm start -- --client-environment=production

Open your browser on http://localhost:3000

Network access

By default, the server is setup to expose the Ext.Direct API through localhost. This address can be changed via the direct.server option (e.g. 192.168.1.2), in which case the client must be launched using the same address (e.g. https://192.168.1.2:3000). If the client needs to be accessed with a different address, you first need to enable CORS using cors.enabled: true.

Cordova / PhoneGap

If the app is ran inside Cordova (or PhoneGap), it's required to change the following configs:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.