Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: emrocode <[email protected]>
  • Loading branch information
emrocode committed Nov 14, 2022
0 parents commit a563479
Show file tree
Hide file tree
Showing 20 changed files with 1,859 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules

# Local Netlify folder
.netlify
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/assets/**
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid"
}
Binary file added dist/assets/images/23515891.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/26330071.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/28990277.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/30331640.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/32129570.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/48966433.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/72249640.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/images/99786256.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/assets/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link type="text/css" rel="stylesheet" href="./styles/globals.css"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap"><title>Guaraní Mythology | Simple REST API</title></head><body><main><div><a href="https://github.com/emrocode/guarani-myths-api" target="_blank" rel="noopener noreferrer" class="g-corner"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" class="g-arm"/><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="g-body"/></svg></a></div><section class="hero"><span><h1 class="hero-title">guaraní mythology</h1><p class="hero-desc">Free REST API to practice and prototyping.</p></span><a href="#guide" class="hero-desc hero-btn">Guide</a></section><section id="guide" class="content-section"><table><thead><tr><th>Method</th><th>Routes</th></tr></thead><tbody><tr><td>GET</td><td><a href="/v1/myths/" class="link">/v1/myths/</a></td></tr><tr><td>GET</td><td><a href="/v1/myths/1" class="link">/v1/myths/1 ( require id parameter )</a></td></tr><tr><td>POST</td><td><span class="link disabled">/v1/myths/1 ( require id parameter )</span></td></tr><tr><td>PUT</td><td><span class="link disabled">/v1/myths/1 ( require id parameter )</span></td></tr><tr><td>DELETE</td><td><span class="link disabled">/v1/myths/1 ( require id parameter )</span></td></tr></tbody></table></section><section class="content-section"><h2 class="content-title">Example</h2><pre class="javascript"><span class="function">fetch</span><span class="punctuation">&#40;</span><span class="punctuation">'https://guarani-myths.com/v1/myths/1'</span><span class="punctuation">&#41;</span><br> .<span class="function">then</span><span class="punctuation">&#40;</span><span class="parameter">res</span> <span class="operator">=&gt;</span> <span class="parameter">res</span>.<span class="function">json</span><span class="punctuation">&#40;</span><span class="punctuation">&#41;</span><span class="punctuation">&#41;</span><br> .<span class="function">then</span><span class="punctuation">&#40;</span><span class="parameter">data</span> <span class="operator">=&gt;</span> console.<span class="function">log</span><span class="punctuation">&#40;</span><span class="parameter">data</span><span class="punctuation">&#41;</span><span class="punctuation">&#41;</span></pre><h2 class="content-title">Response</h2><pre class="javascript"><span class="punctuation">&#123;</span><br><span class="punctuation"> "id"</span>: <span>1,</span><br><span class="punctuation"> "name"</span>: <span>"Taú and Keraná",</span><br><span class="punctuation"> "description"</span>: <span>"This causes deep sadness and...",</span><br><span class="punctuation"> "image"</span>: <span>"https://guarani-myths.com/images/...",</span><br><span class="punctuation">&#125;</span></pre></section><section class="content-section"><h2 class="content-title">Reference</h2><p>Paraguay Myths. (2022) Retrieved from Municipality of Yaguarón<i>&nbsp;</i><a href="https://www.yaguaron.gov.py/mitos-del-paraguay/" target="_blank" rel="noopener noreferrer" class="link">https://www.yaguaron.gov.py/mitos-del-paraguay/</a></p></section><footer><p>Made with ❤️ by<i>&nbsp;</i><a href="https://github.com/emrocode" target="_blank" rel="noopener noreferrer" class="link">Emilio Romero</a></p></footer></main></body></html>
1 change: 1 addition & 0 deletions dist/assets/styles/globals.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a563479

Please sign in to comment.