|
1 | 1 | <html> |
2 | 2 | <head> |
3 | 3 | <title>JSON Server</title> |
| 4 | + <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"> |
| 5 | + <link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css"> |
4 | 6 | <link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css"> |
5 | 7 | <link rel="stylesheet" href="style.css"> |
6 | 8 | </head> |
7 | 9 | <body> |
8 | | - <header class="container"> |
9 | | - <h1> |
10 | | - <a href="https://github.com/typicode/json-server" class="logo"> |
11 | | - json-server |
| 10 | + <header> |
| 11 | + <div class="container"> |
| 12 | + <a href="https://github.com/typicode/json-server"> |
| 13 | + <h3>JSON Server</h3> |
12 | 14 | </a> |
13 | | - </h1> |
| 15 | + </div> |
14 | 16 | </header> |
15 | | - <main class="container"> |
16 | | - <hr> |
17 | | - <p> |
18 | | - Congrats! {😊}<br> |
19 | | - <em>You're successfully running JSON Server</em> |
20 | | - </p> |
21 | | - |
22 | | - <hr> |
23 | | - |
24 | | - <p> |
25 | | - Here are the resources that JSON Server has loaded: |
26 | | - </p> |
27 | | - <div id="resources">loading, please wait...</div> |
28 | | - |
29 | | - <div id="custom-routes"></div> |
30 | | - |
31 | | - <p> |
32 | | - You can view database current state at any time: |
33 | | - </p> |
34 | | - <ul> |
35 | | - <li> |
36 | | - <a href="db">db</a> |
37 | | - </li> |
38 | | - </ul> |
39 | | - |
40 | | - <p> |
41 | | - You can use any HTTP verbs (GET, POST, PUT, PATCH and DELETE) and access your resources from anywhere |
42 | | - using CORS or JSONP. |
43 | | - </p> |
44 | | - |
45 | | - <h4>Documentation</h4> |
46 | | - <p> |
47 | | - View |
48 | | - <a href="https://github.com/typicode/json-server">README</a> |
49 | | - on GitHub. |
50 | | - </p> |
51 | | - |
52 | | - <h4>Issues</h4> |
53 | | - <p>Please go |
54 | | - <a href="https://github.com/typicode/json-server/issues">here</a>. |
55 | | - </p> |
| 17 | + <main> |
| 18 | + <div class="container"> |
| 19 | + <p> |
| 20 | + <strong>Congrats!</strong><br> |
| 21 | + You're successfully running JSON Server 😄 |
| 22 | + </p> |
| 23 | + |
| 24 | + <div id="resources"></div> |
| 25 | + |
| 26 | + <p> |
| 27 | + <em> |
| 28 | + To access and modify resources, you can use any HTTP method |
| 29 | + </em> |
| 30 | + <br> |
| 31 | + <code>GET</code> |
| 32 | + <code>POST</code> |
| 33 | + <code>PUT</code> |
| 34 | + <code>PATCH</code> |
| 35 | + <code>DELETE</code> |
| 36 | + <code>OPTIONS</code> |
| 37 | + </p> |
| 38 | + |
| 39 | + <div id="custom-routes"></div> |
| 40 | + |
| 41 | + <!-- <h4>Extra</h4> |
| 42 | + <p> |
| 43 | +
|
| 44 | + <br> |
| 45 | + </p> --> |
| 46 | + </div> |
56 | 47 | </main> |
57 | 48 |
|
58 | | - <footer class="container"> |
59 | | - <hr> |
60 | | - <p> |
61 | | - To replace this page, create an index.html file in ./public, JSON Server will load it. |
62 | | - </p> |
| 49 | + <footer> |
| 50 | + <div class="container"> |
| 51 | + <p> |
| 52 | + <em>To replace this page, create a <code>./public</code> directory with an |
| 53 | + <code>index.html</code> file in it</em>. |
| 54 | + </p> |
| 55 | + </div> |
63 | 56 | </footer> |
64 | 57 |
|
65 | 58 | <script src="https://unpkg.com/mithril/mithril.min.js"></script> |
|
0 commit comments