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

Basic Project Template (Skeleton) #492

Closed
rawoke083 opened this issue Jul 7, 2022 · 3 comments
Closed

Basic Project Template (Skeleton) #492

rawoke083 opened this issue Jul 7, 2022 · 3 comments

Comments

@rawoke083
Copy link

Hi Guys
http-kit looks really good ! But after spending the whole day trying to get THE BASICS up and running I had to move on and look somewhere else:

a bare-min-basic-example or template would go a long way

  1. Basic hello world template (with latest http-kit) all examples online are years out of date
  2. Basic examples + setup how to interact with project: Example: start, stop, debug, repl.

Is there no up to date project-skeleton somewhere??

@borkdude
Copy link
Collaborator

borkdude commented Jul 7, 2022

Perhaps this helps a bit:

It's an example of how to use http-kit server in babashka.

https://github.com/prestancedesign/babashka-htmx-todoapp

@rawoke083
Copy link
Author

Perhaps this helps a bit:

It's an example of how to use http-kit server in babashka.

https://github.com/prestancedesign/babashka-htmx-todoapp

No sorry. I thank you for providing the example but it does not address any of the issues.

a) a project-skeleton with LATEST and UPDATED documentation
b) With all the correct name-space requirements and versions
c) 2 routes ? Hello-world and websockets
d) propper project.clj or deps file
e) run, repl examples.

All of the documentation has these "little snippets" of code with no filenames. Good luck trying to figure that out if you new to clojure.

It has all these claims about performance and how simple it is. It definitely is not. Most of the snippets doesn't even work !

Maybe try taking a look at pedestal. At least they got working end-to-end examples.

snippets of random code without filenames, context or lack of actually being correct it useless.

@ptaoussanis
Copy link
Member

@borkdude Thanks for the suggestion Michiel 👍

@rawoke083 Hi Jacques, unfortunately I'm not currently aware of any project template that fits your description.

PRs are welcome to improve any aspect of the documentation, otherwise closing this as part of issue triage.

As an aside, please note that http-kit is maintained by its community, and support is offered on a good faith basis by people donating their time to try to help. I'd encourage you to consider the effect that the phrasing of the above response may have on the motivation of contributors, and whether there might not be more effective ways to solicit assistance or give feedback.

Thanks

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

3 participants