@carto/cra-template-cn

CARTO for React. The best way to develop Location Intelligence (LI) Apps usign CARTO platform and React

Showing:

Popularity

Downloads/wk

3

GitHub Stars

19

Maintenance

Last Commit

11d ago

Contributors

10

Package

Dependencies

0

License

BSD-3-Clause

Type Definitions

Tree-Shakeable

No?

Categories

Readme

CARTO for React

Welcome to CARTO for React! The best way to develop Location Intelligence (LI) Apps using CARTO platform + React + deck.gl.

You can see for yourself how easy it is to create an application in this video.

It is based on the most popular toolchain Create React App and it will allow you to start with a well designed structure following the best practices for modern frontend development and an integrated toolchain for testing, building and deploying your application.

@carto/cra-template-base-3 (basic template for CARTO 3)

version downloads

@carto/cra-template-base-2 (basic template for CARTO 2)

version downloads

@carto/cra-template-sample-app-2 (sample app template for CARTO 2)

version downloads

Getting started

The basic prerequisite for using Create React App is to have a package manager (npm or yarn) previously installed. yarn is preferred for developers contributing to the projects, as it will ensure a better integration with external libs.

To download our basic template for create-react-app, just type:

npx create-react-app my-app --template @carto/cra-template-base-3
cd my-app
yarn start

Note: that's the version corresponding to CARTO 3 (latest, recommended), but there is also another template for CARTO 2 (@carto/cra-template-base-2)

A full Sample Application with the most common functionality is available at https://sample-app-react.carto.com


Want to know more about it? Visit the CARTO for React documentation page for more details, guides and a reference.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100