Follow @EpicsDAO

Zapp

Rust Serverless Framework

The Zapp project was launched with the goal of reducing software development, operation and maintenance costs.

Build Serverless Apps faster. Powered by Rust, Aysnc-GraphQL, SeaORM, Axum, and Google Cloud.

Dependency

Cloud Infrastructure

Installation

bash cargo install zapp

Github CLI Auth Login

bash gh auth login

Gcloud Auth Login

bash gcloud auth login

Deploy to Google Cloud Run

1. Generate Your Application

bash zapp new YOURAPP cd YOURAPP

2. Create GitHub

Let's create a new repository on GitHub.

GitHub link

After creating a new repository on the above site, upload the source code with the following command.

Run from the mother directory.

bash $ git add . $ git commit -m 'first commit' $ git remote add origin git@github.com:YOURREPO/YOURAPP.git $ git push origin main

3. Create A Google Cloud Project

If you have never used Google Cloud before, use this link to create a project.

How to create a project

:::div{.success} Whether you've used Google Cloud before or it's your first time, you can get $200 free credit by using the link below:

Google Cloud Credit :::

4. Setup Cloud Compute Network

bash zapp compute setup

5. Push it to Github

bash git add . git commit -m 'first deploy' git push origin main

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/EpicsDao/zapp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the Apache-2.0 License.

Code of Conduct

Everyone interacting in the EpicsDAO project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.