Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreia-oca/genezio-analyze-express
https://github.com/andreia-oca/genezio-analyze-express
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andreia-oca/genezio-analyze-express
- Owner: andreia-oca
- License: mit
- Created: 2024-11-06T16:48:39.000Z (12 days ago)
- Default Branch: main
- Last Pushed: 2024-11-06T16:57:21.000Z (12 days ago)
- Last Synced: 2024-11-06T17:46:14.580Z (12 days ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Join our community](https://img.shields.io/discord/1024296197575422022?style=social&label=Join%20our%20community%20&logo=discord&labelColor=6A7EC2)](https://discord.gg/uc9H5YKjXv)
[![Follow @geneziodev](https://img.shields.io/twitter/url/https/twitter.com/geneziodev.svg?style=social&label=Follow%20%40geneziodev)](https://twitter.com/geneziodev)# Genezio Express Getting Started
In the index.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 (/ 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
:rocket: You can deploy your own version of the template to Genezio with one click:[![Deploy to Genezio](https://raw.githubusercontent.com/Genez-io/graphics/main/svg/deploy-button.svg)](https://app.genez.io/start/deploy?repository=https://github.com/Genez-io/express-getting-started)
## 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:
- [Official genezio documentation](https://genezio.com/docs)
- [Tutorials](https://genezio.com/blog)## Contact
If you need support or you have any questions, please join us in our [Discord channel](https://discord.gg/uc9H5YKjXv). We'd love to chat!
## Built With
- [Genezio](https://genezio.com/)
- [Node.JS](https://nodejs.org/en/)
- [Express](https://expressjs.com/)***