final-space-api
final-space-api copied to clipboard
Add Examples to the Documentation
There is only one example present right now in the documentation i.e. Live React Example which can be found here https://finalspaceapi.com/docs/react/
Docusarus uses React Live for the interactive coder so it will only support React.
Add more example with the language and frameworks of your choice.
Resource: https://v2.docusaurus.io/docs/markdown-features/#syntax-highlighting
https://v2.docusaurus.io/docs/markdown-features/#interactive-code-editor
P.S. it doesn't necessarily have to be a live example. You can add simple code snippets with their output too.
Here are a few ideas for this
Completed
- [x] Vue @bobluppes
- [x] Angular @guzbarraf
- [x] Vanilla JS @PSmigielski
- [x] Vue+Axios @Devdre1909
- [x] React + Axios @fernandoamz
- [x] Svelte+ Axios @fullstackmafia
Rest is up to your imagination.
@lelouchB, May I add an example with react + axios ?
@lelouchB, May I add an example with Vainilla too? and with Ajax?
Hey @fernandoamz Lets do one at a time, I am assigning you for React + Axios
After you are done with, if other are available I will assign it you Thanks
Looking forward to your contributions.
👋 Hey @lelouchB, I am new on docusaurus, May you share me an example as to how to add an import into the theme-live-codeblock
? I searched information but I couldn't resolve it. Thanks.
I have an error on the Result
because I am not importing Axios
Hey , @fernandoamz Sorry for the late response I see that you have figured this issue out. Great 👍
Hey @lelouchB, could I make an example in Vue.js? Would very much like to try out your API at the same time ;)
@bobluppes Ofcourse I will assign this issue to you as well.
@bobluppes
If you could use the episode
endpoint in the example.
https://finalspaceapi.com/docs/episode
Oh cool, is the endpoint finished now. Will definitely use it then. Expect a PR this evening or tomorrow morning
Could i make vanilla JS and axios examples ?
Could i make vanilla JS and axios examples ?
Sure @PSmigielski
Hi @lelouchB, can I make Vue and Axios Examples?
@Devdre1909 yeah Sure, As you already know this will be static example. Be as creative as you can.
Use location
endpoint and add screenshot of the Output too.
Hi @lelouchB, give me the example in angular
Awesome Thanks @guzbarraf
Hi @lelouchB - I took a look at this and I think it's awesome. Could I make an example with SvelteJS and Axios?
Hi @lelouchB - I took a look at this and I think it's awesome. Could I make an example with SvelteJS and Axios?
@fullstackmafia Sure, Go for It! Let me know if you have any questions.