https://github.com/syncfusion/ej2-quickstart
Essential JS 2 TypeScript quick start seed project for local development
https://github.com/syncfusion/ej2-quickstart
Last synced: about 2 months ago
JSON representation
Essential JS 2 TypeScript quick start seed project for local development
- Host: GitHub
- URL: https://github.com/syncfusion/ej2-quickstart
- Owner: syncfusion
- License: other
- Created: 2017-07-03T11:49:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-21T12:42:25.000Z (about 2 years ago)
- Last Synced: 2026-01-31T21:50:04.917Z (3 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 19
- Watchers: 12
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# Essential JS 2 QuickStart
This project is a skeleton application used to create [Essential JS 2](https://www.syncfusion.com/products/essential-js2) web application.
The application contains Essential JS 2 button component for preview and all common settings are preconfigured.
## Getting Started
To get started you need to clone the `ej2-quickstart` repository and navigate to `ej2-quickstart` location.
```
git clone https://github.com/syncfusion/ej2-quickstart.git quickstart
cd quickstart
```
## Installing
We can get all the Essential JS 2 components in a single npm package [`ej2`](https://www.npmjs.com/package/@syncfusion/ej2).
We already configure the required packages in the `package.json` file.
You can run the below command to install all dependent packages related to this seed project.
```
npm install
```
## Testing
This application is preconfigured with End-to-End testing and the test case is written in Jasmine.
We run the test scripts with [Protractor](http://www.protractortest.org/#/) end-to-end test runner. The test case file can be found in the `e2e` folder.
Protractor can interact with our web application and verify the test scripts.
We have to install WebDriver and also need to ensure it is updated. Open a separate terminal and run the below npm script.
```
npm run update-webdriver
```
Open another terminal and run the below npm script. It will start web server to serve our application.
```
npm run serve
```
Once the web server is up and running, we can run the end-to-end tests using the below npm script
```
npm run test
```
> **Note:** Since Protractor is using the Selenium Standalone Server, the Java Development Kit (JDK) need to be installed in your local machine.
If JDK is not installed in your local machine, you can download it from [here](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
## Running
The application is configured with `browser-sync`, so it will serve the web application in your default browser.
We used `SystemJS` for module loading.
You can use the below npm script to run the web application.
```
npm run start
```
## Resources
You can also refer the below resources to know more details about Essential JS 2 components.
* [Pure JS Demos](http://ej2.syncfusion.com/demos/)
* [Pure JS Documentation](http://ej2.syncfusion.com/documentation/)