parse-community / docs

Parse Platform docs
https://docs.parseplatform.org
Other
313 stars 518 forks source link

📙 Examples section with end to end tutorial #913

Closed Moumouls closed 1 year ago

Moumouls commented 1 year ago

Link to section: Please provide a specific link to the section in question. In the docs, you can click on a heading and then copy the relative link from the address bar.

What is the issue?

Parse has really powerful feature that can be used together to provide a strong, flexible, and scalable backend service. Parse has also many individual "generic" concepts like, Auth, (ACL,CLP), Defined Schema, Cloud functions. These features can sounds really generic and it can be hard for new Parse developers to see and use the full power of parse on their projects.

Can you propose a solution?

Many Cloud providers/Cloud solutions (ex: Google Cloud, AWS, Next, Firebase) has a strong examples sections, with end to end examples.

As a POC, i think it could be great to create a end to end example doc for a classic Todo/Trello like app using all features of Parse:

We can easily focus to maintain the Todo App steps docs along the docs. Se we will have the "generic" example and also the ability to show practical examples.

We have some kind of work that need to be splitted in smaller chunks, and we can also use Chat GPT to write huge amount of these docs.

Chat GPT is kind of revolution to generate docs, Parse is sufficiently known to be able to generate some (almost) valid content with GPT.

example below

Capture d’écran 2022-12-25 à 11 58 54 Capture d’écran 2022-12-25 à 12 01 26

I think we can give it a try !

Moumouls commented 1 year ago

@mtrezza @dblythy tell me what you think 👍

mtrezza commented 1 year ago

I think a E2E tutorial is always a great way for new developers to learn code by coding. This works so well because a tutorial leaves out many detailed stuff so you get to results quickly, which is an important motivational factor. A good structure for a tutorial may be a series that builds upon the previous chapter, gradually extending the capabilities of the example app. Another benefit of this would be that even if steam runs out along the way and contribution slows down, the produced material would still be of value and can stand as tutorials.

We cannot use ChatGPT to create docs because it's a copyright minefield in uncharted legal territory. We don't know the source of the generated content and how it can be used. Basing official documents on that would be an unquantifiable risk.

Aside from that, I don't think that ChatGPT would be a useful tool for generating a tutorial. I've been using it for a while now and its answers are rather generic, while a tutorial is focused on custom code and explanations for a specific example app.

Moumouls commented 1 year ago

thanks @mtrezza for your feedback.

A good structure for a tutorial may be a series that builds upon the previous chapter, gradually extending the capabilities of the example app.

Exactly what i'm thinking about.

I'm in favor of a tutorail covering at the same time JS SDK, REST API and GraphQL API. We can use https://github.com/Ovski4/jekyll-tabs to provide detailed variations for each API.

@mtrezza to be able to prepare the E2E tutorial structure, can you open on this repo a Project. It will be easier to collaborate.

I think a "Trello" like app could be a good candidate.

The app description:

Trello like app, support login via email/password, A user can create a Team. Each team can have 20 boards max. An admin Team user can invite other users to the team or to a specific board. A board has default and custom columns. Each colum has tasks with name, description, comments, and files. The app support realtime task moves. The app is packaged in a Docker container, deployed on a container cloud platforme (Azure container/GCP Cloud run/AWS fargate). The app should have tests with Jest to cover the business logic, and ensure that the tutorial work. The app only cover api calls.

The final repo with all tests (for each API (GQL, SDK, REST)) should be hosted on parse-community/trello-like-app

Basic chapters i see:

Later:

mtrezza commented 1 year ago

Sure, I've created https://github.com/orgs/parse-community/projects/10/ with you as the only member with write access; feel free to invite others as needed.

mtrezza commented 1 year ago

Can we close this, since the tutorial has its own repository and project to track its development?

Moumouls commented 1 year ago

Yes @mtrezza, we will see later how to implement e2e docs into the main doc repo