Skip to content

Genez-io/express-typescript-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join our community Follow @geneziodev

Genezio Express Typescript Getting Started

In the app/index.ts file, you will see a very basic Express.js Typescript application that is set up to be deployed as a Genezio function. It handles a couple of requests (/ and /users).

You can update the Express application and then add a front-end to your application:

  1. Create a client/index.html file.
  2. Update the genezio.yaml file and add a frontend section:
frontend:
  path: client
  publish: .

Then, in the client/index.html file, you can simply fetch data from the Express web app. You can see the Express app's URLs by clicking the "View your URLs" button in the editor.

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


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published