Closed milancurcic closed 1 year ago
I have created a new project GitHub-org-analyzer
which is using http-client
to fetch data from the GitHub API to generate insightful reports, I have also used json-fortran
as a dependency to parse json content.
Should I explain this project as 1st part of the tutorial, I also think, since I have used json-fortran
as a dependency it, can make the tutorial a little bit harder for beginners to understand.
So Should I use this project or use something else?
Great! You can focus on explaining the http-client parts, and only a sentence or two mentioning json-fortran, what it is and what you're using it for, without going into detail about it.
Ok, I will add a tutorial section to the README.md file and provide the explanation for this project.
Hi, I've included the Phase 1 Tutorial in my recent Pull Request (PR). This tutorial demonstrates the step-by-step process of creating a new fpm project, adding dependencies, installing prerequisites, building, and running the project.
I have come up with this table content for the tutorial section :
Getting Started
Making HTTP Requests
GET
Requests
Content
Status Codes
Headers
Content Length
POST
Requests
Data
with RequestsForm Data
File
PUT
RequestsPATCH
RequestsDELETE
RequestsHEAD
RequestsCustomizing Requests
Error Handling
Real Projects
Conclusion
Does it appear satisfactory? Are there any additions or removals that could improve it?
Done by #53.
Start from zero, and go through the steps in order:
POST
to send data? Maybe we can use a mock server to CRUD a resource with POST, GET, PUT/PATCH, and DELETE. (this could be the 2nd part of the tutorial, 1st being just getting and parsing the data).Project ideas:
Let's start discussing ideas for a tutorial but we don't have to rush to work on it immediately while the API is still in early flux.