Coder Social home page Coder Social logo

cartodb / carto-react-template Goto Github PK

View Code? Open in Web Editor NEW
39.0 18.0 26.0 1.98 MB

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

Home Page: https://sample-app-react.carto.com

License: MIT License

HTML 10.46% JavaScript 60.86% Shell 0.21% TypeScript 22.00% EJS 6.47%
react material-ui carto deck-gl maps google-maps location-intelligence geospatial

carto-react-template's Introduction

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-3-typescript (basic template for CARTO 3 with TypeScript)

version downloads

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

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 and kickstart your application, just type the following command:

npm:

npx create-react-app my-app --template @carto/base-3

Yarn:

yarn create react-app my-app --template @carto/base-3

Note: that's the version corresponding to CARTO 3 (latest, recommended), but there are also other templates mentioned above.

Then you can start the development server:

npm:

cd my-app
npm start

Yarn:

cd my-app
yarn start

A full Sample Application with the most common functionality, deployed from the sample-app-3 template, 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.