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

Add Examples #16

Closed
2 tasks
elithrar opened this issue Feb 21, 2016 · 5 comments
Closed
2 tasks

Add Examples #16

elithrar opened this issue Feb 21, 2016 · 5 comments

Comments

@elithrar
Copy link
Member

Consider this a tracking issue for adding an examples directory or (better) some examples on the website.

  • Add a simple example with 2-3 routes and some template rendering. There should be some middleware involved to show how to pass values using context.Context between handlers.
  • A more complex example where Goji is an API server serializing objects to JSON. Possibly show some CORS middleware here, as this is a common use-case in a world of React, Vue, Ember, etc. BoltDB could help in making it a little more "real world" without relying on external dependencies.

I'd be happy to contribute here, but wanted to open this up for discussion first, and for others who might have more time to chip in.

@ess
Copy link

ess commented Mar 11, 2016

I wouldn't know where to start, but Gritter2 (with promoted and >140-character posts, of course) would be pretty great to see.

👍

@elithrar
Copy link
Member Author

Great idea @ess. I'll see if I can port that over this weekend and PR it.

@ottob
Copy link

ottob commented Mar 22, 2016

This would be super helpful! I've found https://github.com/andrew-d/go-webapp-skeleton but more examples would be very welcome.

@matrixik
Copy link

Also linking to outside examples also would be great (like the one posted by @ottob or https://github.com/metcalf/saypi )

@ego008
Copy link

ego008 commented Nov 9, 2017

Full example https://github.com/ego008/goyoubbs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants