-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
115 lines (100 loc) Β· 5.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="A Hackers@UPC workshop by Albert Suarez for building an API from scratch.">
<meta name="keywords" content="workshop talk api hackathon event upc barcelona">
<meta name="author" content="Albert Suarez">
<title>How to build an API workshop | Albert Suarez</title>
<link rel="apple-touch-icon" sizes="180x180" href="web/assets/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="web/assets/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="web/assets/img/favicon-16x16.png">
<link rel="manifest" href="web/assets/img/site.webmanifest">
<meta property="og:title" content="How to build an API workshop | Albert Suarez">
<meta property="og:site_name" content="How to build an API workshop">
<meta property="og:description" content="A Hackers@UPC workshop by Albert Suarez for building an API from scratch.">
<meta property="og:url" content="https://asuarez.dev/build-api-workshop">
<link rel="stylesheet" type="text/css" href="web/assets/css/styles.css">
<link rel="stylesheet" type="text/css" href="web/assets/css/jquery.json-viewer.css">
<!--Fonts-->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,700" rel="stylesheet">
<!--3rd party libraries-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="web/assets/js/jquery.json-viewer.js"></script>
</head>
<body>
<div class="vertical-center">
<div class="container">
<div class="row">
<div class="col col-12 text-center">
<h1>How to build an API workshop</h1>
</div>
</div>
<div class="row">
<div class="col col-12 text-center github">
<a class="github-button" target="_blank" href="https://github.com/AlbertSuarez"
data-size="large" data-show-count="true" aria-label="Follow @AlbertSuarez on GitHub">
Follow
</a>
<a class="github-button" href="https://github.com/AlbertSuarez/build-api-workshop"
data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star AlbertSuarez/build-api-workshop on GitHub">
Star
</a>
<a class="github-button" href="https://github.com/AlbertSuarez/build-api-workshop/fork"
data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork AlbertSuarez/build-api-workshop on GitHub">
Fork
</a>
</div>
</div>
<form id="apiForm">
<div class="form-group row col-lg-7 col-md-9 col-sm-12 auto-center">
<input type="number" class="form-control" id="portInput" placeholder="Port (i.e. 8080)">
</div>
<div class="form-group row col-lg-7 col-md-9 col-sm-12 auto-center">
<input class="form-control" id="endpointInput" placeholder="Endpoint (i.e. /companies)">
</div>
<div class="form-group row col-lg-7 col-md-9 col-sm-12 auto-center">
<select class="form-control" id="methodInput" placeholder="Method">
<option>GET</option>
<option>PUT</option>
<option>POST</option>
<option>DELETE</option>
</select>
</div>
<div class="form-group row col-lg-7 col-md-9 col-sm-12 auto-center">
<input class="form-control" id="requestBodyInput" placeholder='Request body (i.e. {"param": "value"}) - optional'>
</div>
<div class="form-group row col-lg-7 col-md-9 col-sm-12 auto-center">
<a class="btn form-control">Submit</a>
</div>
</form>
<div class="row">
<div class="col-lg-7 col-md-9 col-sm-12 auto-center">
<pre id="json-renderer"></pre>
</div>
</div>
</div>
</div>
<img src="http://hits.dwyl.io/AlbertSuarez/build-api-workshop.svg" hidden></img>
<script src="web/assets/js/main.js"></script>
<!--3rd party libraries-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>