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

API Documentation needs explanations #158

Open
domoritz opened this issue Jan 31, 2024 · 14 comments
Open

API Documentation needs explanations #158

domoritz opened this issue Jan 31, 2024 · 14 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@domoritz
Copy link
Contributor

The API docs at https://docs.socketify.dev/api.html don't describe the parameters or what the methods do.

@cirospaciari
Copy link
Owner

Yeah and we need a better site too, this is too little information.
We should be able to search for something and get the API with description and at least one use case of example.

@cirospaciari cirospaciari added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Feb 1, 2024
@megaterium
Copy link

If it help, I've created a GPT with the documentation. Might be useful here.

#162 (comment)

@greg-martinez44
Copy link

I can help with docs if this is still available.

@avylera
Copy link

avylera commented Feb 15, 2024

Hello, I loved to be assigned to this task!

@cirospaciari
Copy link
Owner

cirospaciari commented Feb 15, 2024

Everyone can help :D just open a PR and I will take a look to merge it

@Ashleycodesseo
Copy link

@cirospaciari I looked at the website. Do you still need help with documentation? Is this a REST API? I'm looking to gain some experience with REST API documentation and I'd be happy to help

@cirospaciari
Copy link
Owner

Would love help with this!

@Ashleycodesseo
Copy link

@cirospaciari great! so what do you need me to do? From what I'm seeing you need parameters and methods described for each function? Let me know what you need and I will get to it

@cirospaciari
Copy link
Owner

@Ashleycodesseo basically something similar to nodejs docs https://nodejs.org/api/http2.html

Methods, and types described, options described and some code examples.

@Ashleycodesseo
Copy link

hey @cirospaciari just wanted to update you. I'm still working on the documentation. Will be working on it over the next few days

@Ashleycodesseo
Copy link

Ashleycodesseo commented Sep 21, 2024

Ok so @cirospaciari I forked my own copy of the code and I'm looking thru it but I'm so confused. (*forgive me I'm not much of a coder so I'm learning bit by bit as I go) but I'm trying to understand the functions you want me to document as listed on https://docs.socketify.dev/api.html . But How can I test them? Wouldn't a dev implement them in their own app? Should I append these functions to my own copy to see how they work then look at them in a local server?

@Ashleycodesseo
Copy link

nevermind @cirospaciari I actually figured it out using docker!

@Ashleycodesseo
Copy link

@cirospaciari actually no I didn't lol. I ran the app locally on my computer and it just showed the "Hello World from Socketify" What am I doing wrong?

@cirospaciari
Copy link
Owner

@Ashleycodesseo I'm a little confuse with your question, if you are running the Hello World example the application will just show this message. socketify is a HTTP and WebSocket server you can write web application using it as base, it's don't provide any front-end and is really raw, the goal is high performance Web APIs and WebSocket communication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants