An open API service indexing awesome lists of open source software.

https://github.com/geops/react-spatial-starter


https://github.com/geops/react-spatial-starter

react reactjs spatial

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# geOps react-spatial Starter

[![npm](https://img.shields.io/npm/v/%40geops%2Freact-spatial-starter.svg)](https://www.npmjs.com/package/%40geops%2Freact-spatial-starter)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

This library provides a starter kit to create a web map application based on [React Spatial](https://github.com/geops/react-spatial).

## Technologies

* react
* redux
* react-router
* enzyme
* jest
* cypress
* react-spatial
* eslint with airbnb
* stylelint
* prettier
* sass

## Getting Started

* Install:

```bash
yarn install
```

* Start:

```bash
yarn start
```

Publish as NPM package:

* Publish:

```bash
yarn publish:build
```

* Create a new component from another

```bash
yarn cp
```

## Use as ES6 module

When this app is published as npm package, it can be integrated easily in other applications, as ES6 module:

* Install

```bash
yarn install
```

* In your App.js file:

```html
import React, { Component } from 'react';
import thisApp from '';

class App extends Component {
render() {
return (




);
}
}

export default App;
```