Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new "empty backend" project #368

Open
bmonkman opened this issue Apr 15, 2021 · 3 comments
Open

Create a new "empty backend" project #368

bmonkman opened this issue Apr 15, 2021 · 3 comments
Labels
backend good first issue Good first ticket, minimal dependencies module

Comments

@bmonkman
Copy link
Contributor

Originally the "zero-deployable-backend" project was supposed to be this but it sort of turned into the Go backend.
We should have a project which gives an example of how to make your current service Zero-ready by including just the CI, dockerfile, kubernetes stuff so we can let people easily take an existing project and bootstrap it into the Zero ecosystem.
The service that gets started can just run something like ncat -c 'echo "HTTP/1.1 200 OK\n\nHi from Zero ($(date))"' -k -l 8080

@edmondop
Copy link

edmondop commented Aug 23, 2021

Hi @bmonkman , can you please create an empty repository so I can fork it and make it a pr? Do you also think that a simple empty frontend which use native Ajax to display the result from the backend would be useful?

Here my initial change edmondop@5a2d2f7 and my proposed names for the repos

@bmonkman
Copy link
Contributor Author

@edmondo1984 Happy to do that! Here are the new repos:
https://github.com/commitdev/zero-backend-empty
https://github.com/commitdev/zero-frontend-empty

I would like to rename the existing modules, so I've created these new ones with the updated naming scheme.
And for the frontend yes I guess we could make a simple ajax call to the backend but I would say let's make sure it's as simple as possible. Ideally just a single HTML file. We don't want to distract people from the main point of these repos which is the stuff that you can copy into an existing project to make it easily compatible with Zero. (CI, Dockerfile, Kubernetes manifests)

Thanks!

@bmonkman
Copy link
Contributor Author

I split the frontend part of this out into #430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend good first issue Good first ticket, minimal dependencies module
Projects
Status: Up Next
Development

No branches or pull requests

2 participants