Build your app with an external repository
Here, you will learn how to set-up a React application and run it locally
Objective
Here, you will learn how to set-up a React application and run it locally.
By the end of this guide, you will be able to edit a Data Platform application by running it locally, connecting it to the Platform' ecosystem and deploying it with a git repository.
Requirements
There are a few things you need before starting :
- Follow the Analytics App Getting Started guide up until this point. This is where you expose your API.
- Install git.
- Install Node.js.
- Install yarn (recommended) or npm.
- Install npx.
- Have a text editor. You'll be writing HTML, CSS, and JavaScript.
The point of communication between your Data Platform Project and your app, is the Data Platform API that you exposed in Application Services. That is why it is required to complete the Getting Started guide until the part where you expose your data and queries on the API.
Set-up an application & connect it to Data Platform
Create an app using an existing template
Clone this repository and open it:
Switch to the branch release/basic
Before installing the Node modules, you'll need to ensure our map-related dependencies are configured for the current environment. Open your package.json file and add the following lines to your dependencies section, or update them if they already exist:
Install node modules :
If you get an error concerning certificates when installing yarn, you should contact your IT department to solve the issue.
Install npx (Skip this step if you have already installed it globaly):
Install the Platform modules
If you run into problems installing the modules, it may be due to your NodeJS configurations. Uninstall and reinstall NodeJS to fix the issue.
If the issue persists, it could be due to NodeJS version compatibility. Install NodeJS v16.20.2 to fix the issue.
Run your app :
Open http://localhost:3333 to check your app. If you see no error but a blank screen, don't worry! You still need to adjust the app configuration before seeing the panels. The blank screen means your app is up & running.
Connect a git repository to the platform (optional)
To link a git repository to the platform, please follow this guide
Now that you've learned how to create and launch your app, it's time to understand its architecture.
Understand app architecture and configuration files
Go further
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.
Ask questions, give your feedback and interact directly with the team building the Data Platform on the dedicated Discord channel.
If you need support with your OVHcloud services, create a request in our Help Centre.
Join our community of users.

