Welcome to the Genezio React Getting Started Template repository! This project provides a basic React template to help you quickly get started with your Genezio projects.
-
Install Dependencies
Ensure you have Node.js and npm installed. Then, install the project dependencies:
npm install
-
Run the Project
Start the development server:
npm start
Open http://localhost:5173 to view it in your browser.
-
Modify the Template
You can modify the React components and styles to suit your project requirements. The main files are:
src/App.js
: Contains the main React component.src/index.js
: Entry point for the React application.src/App.css
: Contains the CSS styles.
🚀 You can deploy your own version of the template to Genezio with one click:
Genezio also provides a CLI tool that you can use to deploy your project from your machine. All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install -g genezio |
Installs genezio globally |
genezio login |
Logs in to genezio |
genezio local |
Starts a local server |
genezio deploy |
Deploys a production project |
genezio --help |
Get help using genezio |
To learn more about Genezio, take a look at the following resources:
If you need support or you have any questions, please join us in our Discord channel. We'd love to chat!