winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.91k stars 194 forks source link

Examples repository #2333

Open eladb opened 1 year ago

eladb commented 1 year ago

Feature Spec

The winglang/examples repository now includes example projects written in Wing.

The examples are also listed in the docs.winglang.io/examples, each example has a page that describes the project, how to build it, how to deploy it, and some information.

Examples can be cloned and built with the latest version of Wing.

This repository has CI that verifies that all projects are up-to-date with the latest version of Wing.

There's a contributing section that shows people how they can add an example.

The winglang.io webpage also has a section that showcases some of these examples.

Use Cases

Examples

Implementation Notes

No response

Component

No response

Community Notes

eladb commented 1 year ago

Assigning to @skorfmann :-) welcome!!

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

ainvoner commented 9 months ago

@eladb @staycoolcall911 we discussed pushing this repo content into wing repository. any spacial requirements?

skorfmann commented 9 months ago

@eladb @staycoolcall911 we discussed pushing this repo content into wing repository. any spacial requirements?

What's the reasoning to move it over to the wing repo?

staycoolcall911 commented 9 months ago

What's the reasoning to move it over to the wing repo?

I think it will simplify keeping the examples up to date and help with discoverability. Every breaking change PR will have to update the examples.

staycoolcall911 commented 9 months ago

any special requirements?

Let's also include the examples from our dogfooding wingathon https://github.com/winglang/research/tree/main/dogfooding/ or at least some of them. If updating the code seems like as big task let's ask each one of us to update their dogfooding project

skorfmann commented 9 months ago

What's the reasoning to move it over to the wing repo?

I think it will simplify keeping the examples up to date and help with discoverability. Every breaking change PR will have to update the examples.

When would the pipeline run? Would be difficult to run the AWS part as part of a 3rd party PR due to credentials being potentially exposed.

staycoolcall911 commented 9 months ago

Perhaps we should take a similar approach as the "SDK Spec Tests" - @tsuf239 can help

skorfmann commented 9 months ago

Another thing which crossed my mind: Each and every user has the problem of keeping up with deprecated syntax in Wing. Perhaps we could explore codemods (e.g. similar to https://nextjs.org/docs/app/building-your-application/upgrading/codemods) for winglang. This could make it easier for everyone.

staycoolcall911 commented 9 months ago

Another thing which crossed my mind: Each and every user has the problem of keeping up with deprecated syntax in Wing. Perhaps we could explore codemods (e.g. similar to nextjs.org/docs/app/building-your-application/upgrading/codemods) for winglang. This could make it easier for everyone.

@skorfmann this looks very cool. Would you mind opening a separate issue on that one please?

github-actions[bot] commented 4 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 1 month ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

boyney123 commented 1 month ago

A version of this is being built now https://github.com/winglang/docsite/pull/957.