Skip to content

Genez-io/genezio-typesafe-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join our community Follow @geneziodev

Genezio TypeSafe Getting Started

In the server/ folder, you'll find the backend services that are exposed to the client-side via the project's SDK. You can update the backend.ts file to add or modify functions, or create new backend services (new files in the server/ folder).

In the client/ folder, you have a basic React.js app that calls the hello world function from the backend. Check the src/App.tsx file to see how the Genezio project SDK is imported and how the backend function is called.

Starting from this example, you can add backend functions that access a database for specific content, call other APIs to retrieve data, and then expose all of these in the front end via the same SDK.

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