-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add more advanced examples #19
Comments
Agreed. Another example I want to have soon is using React to render a small website using JSX syntax. In terms of priority, the examples that are most important to add, in my opinion, are for the areas where Pogo is unique or diverges from hapi. So usage of the request body is definitely important. Path parameters would be nice to show as it's a commonly used feature, but they work the same as in hapi, so people can at least be referred elsewhere for that until we have our own example. PRs welcome for any of these. At the moment, most of my time is going towards the TypeScript conversion and improvements to the router. |
excellent, when my experiments progress into a more complete understanding, i will make PRs, thanks for the answer! |
Another example just landed in PR #69 . There are now four examples. All of them are still fairly basic, but they do include serving static files and two different modes of rendering React. It would be nice for the next example to show body parsing with the new web standard |
The examples contained with pogo are very basic.
working with request objects should be demonstrated
working with path parameters should be demonstrated
working with request body should be demonstrated
etc. (file upload, headers, content types, ..)
The text was updated successfully, but these errors were encountered: