Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 3.4 KB

README.md

File metadata and controls

73 lines (49 loc) · 3.4 KB

Join our community Follow @geneziodev

Express React Getting Started

This is a Genezio project template for an Express.js fullstack application. It is a simple Express.js application that is set up to be deployed as a Genezio function.

In the server/app.mjs file, you will see a very basic Express.js application that is set up to be deployed as a Genezio function. It handles a couple of requests on the following endpoints:

  • / -> return a simple "Hello World" message
  • /hello?name= -> return the name and the server location

You can update the Express application in the client/src/App.tsx file, you can simply fetch data from the Express web app by sending a request to the function URL.

Note: You can get the Express app's URLs by clicking on "View your URLs" button in the code editor in the dashboard or in the Overview page.

Deploy

🚀 You can deploy your own version of the template to Genezio with one click:

Deploy to Genezio

Genezio CLI Commands

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

Learn more

To learn more about Genezio, take a look at the following resources:

Contact

If you need support or you have any questions, please join us in our Discord channel. We'd love to chat!

Built With