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

chore(docs): removed winglibs from the docs section #7185

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions docs/by-example/13-bytes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ log(Json.stringify(base64));
log(Json.stringify(hex));
```

```bash title="Wing console output"
# Run locally with wing console
{"_data":{"0":104,"1":101,"2":108,"3":108,"4":111}}
{"_data":{"0":104,"1":101,"2":108,"3":108,"4":111}}
{"_data":{"0":104,"1":101,"2":108,"3":108,"4":111}}
{"_data":{"0":104,"1":101,"2":108,"3":108,"4":111}}
```




53 changes: 0 additions & 53 deletions docs/docs/04-winglibs/01-what-are-winglibs.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/docs/04-winglibs/02-using-winglibs.md

This file was deleted.

27 changes: 0 additions & 27 deletions docs/docs/04-winglibs/03-creating-winglibs.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still have this information somewhere else? Do we need to set up redirects?

This file was deleted.

6 changes: 0 additions & 6 deletions docs/docs/04-winglibs/_category_.yml

This file was deleted.

Binary file added docs/examples/img/examples/quickshare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions docs/examples/quick-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "QuickShare: Demo application built with Wing"
subtitle: "A demo application showcasing cloud resources with a frontend application"
type:
- "pattern"
platform:
- "awscdk"
- "tf-aws"
- "sim"
language:
- "wing"
githubURL: "https://github.com/winglang/website-with-file-uploader"
repoDirectory: "/"
coverImage: "/img/examples/quickshare.png"
coverImageInPage: true
resources:
- label: "Deploy your own version of this application"
href: "https://github.com/winglang/website-with-file-uploader"
authors:
- name: "David Boyne"
role: "Developer Advocate, Wing"
twitter: "https://twitter.com/boyney123"
github: "https://github.com/boyney123"
cloudResources:
- api
---

This demo application shows how you can write Wing applications with cloud primitives and custom abstractions into services, routes and listening to database changes.

To use the application

- Make sure you have Wing installed and clone the repo.
- Run `wing it` in the `backend` project directory
- The wing console will load in your browser.
- Go to http://localhost:5173/ to load the Vite application.
- Click `Create Magical Space`
- Add email address and files into the application.
- Click `Share with Friends` to send emails to your selected friends.

This application consists of a collection of cloud primitives with Wing and winglibs:

- [Cloud API](https://www.winglang.io/docs/api/standard-library/cloud/api) - API for the frontend to add/edit and delete friends/spaces.
- [Cloud functions](https://www.winglang.io/docs/api/standard-library/cloud/function) - Compute to process API requests, queues and database changes.
- [Queues](https://www.winglang.io/docs/api/standard-library/cloud/queue) - To handle sending the email, configured DLQ on the queue
- [winglib DynamoDB](https://www.winglang.io/docs/winglibs/dynamodb) - Single table design to store friends and spaces into the database.
- [winglib email](https://www.winglang.io/docs/winglibs/email) - To send emails to friends.
Loading